Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002094, allocations: 207.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.702/1.702, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2419/0.2419, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.426, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003622/0.4296, allocations: 1.687 MB / 0.5327 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.4309, allocations: 0.5862 MB / 0.5332 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.431, allocations: 1.375 kB / 0.5332 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.4318, allocations: 453.4 kB / 0.5337 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005807/0.4324, allocations: 300.4 kB / 0.534 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.4329, allocations: 177.3 kB / 0.5341 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.4333, allocations: 178.7 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.4335, allocations: 31.2 kB / 0.5343 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.4336, allocations: 114.9 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.434, allocations: 213.2 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.4341, allocations: 8.5 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.4342, allocations: 52.52 kB / 0.5347 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.4344, allocations: 87.5 kB / 0.5348 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.4345, allocations: 112.4 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.4349, allocations: 276.8 kB / 0.5352 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4349, allocations: 0 / 0.5352 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4349, allocations: 1.188 kB / 0.5352 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.4349, allocations: 0 / 0.5352 GB, free: 11.03 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001103/0.4361, allocations: 0.6568 MB / 0.5358 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.4361, allocations: 13.28 kB / 0.5358 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.4362, allocations: 43.28 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.4367, allocations: 300 kB / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.4367, allocations: 6.5 kB / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.4367, allocations: 2.594 kB / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.437, allocations: 69.91 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.437, allocations: 3.938 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.437, allocations: 9.078 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4371, allocations: 1.094 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.4372, allocations: 41.12 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.4379, allocations: 417.8 kB / 0.5367 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.4382, allocations: 60.3 kB / 0.5367 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.4383, allocations: 29.25 kB / 0.5367 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.4384, allocations: 1.5 kB / 0.5368 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4384, allocations: 36.12 kB / 0.5368 GB, free: 9.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.314e-06/0.4384, allocations: 0 / 0.5368 GB, free: 9.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001631/0.44, allocations: 0.4971 MB / 0.5373 GB, free: 9.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.4401, allocations: 60.28 kB / 0.5373 GB, free: 9.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.4412, allocations: 0.8634 MB / 0.5382 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4413, allocations: 27.36 kB / 0.5382 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.4415, allocations: 215.7 kB / 0.5384 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.4415, allocations: 39.72 kB / 0.5384 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.4416, allocations: 29.83 kB / 0.5385 GB, free: 8.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4418, allocations: 361.4 kB / 0.5388 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.442, allocations: 60.52 kB / 0.5389 GB, free: 8.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.4421, allocations: 52.7 kB / 0.5389 GB, free: 8.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.4424, allocations: 128.2 kB / 0.539 GB, free: 8.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4425, allocations: 0 / 0.539 GB, free: 8.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004401/0.4429, allocations: 201.5 kB / 0.5392 GB, free: 7.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4429, allocations: 6.188 kB / 0.5392 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.443, allocations: 0 / 0.5392 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.443, allocations: 0.9062 kB / 0.5392 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.4431, allocations: 27.83 kB / 0.5393 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.4431, allocations: 0.5625 kB / 0.5393 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.4432, allocations: 10.48 kB / 0.5393 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4432, allocations: 6.75 kB / 0.5393 GB, free: 7.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002727/0.4435, allocations: 220 kB / 0.5395 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.4436, allocations: 43.66 kB / 0.5395 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.4441, allocations: 237.9 kB / 0.5398 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4441, allocations: 5.156 kB / 0.5398 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4441, allocations: 0 / 0.5398 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4442, allocations: 5.156 kB / 0.5398 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.4451, allocations: 0.5944 MB / 0.5404 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4451, allocations: 1.312 kB / 0.5404 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4452, allocations: 23.77 kB / 0.5404 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4452, allocations: 5.375 kB / 0.5404 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4452, allocations: 2.469 kB / 0.5404 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4452, allocations: 1.094 kB / 0.5404 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4453, allocations: 1.188 kB / 0.5404 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.4458, allocations: 318.5 kB / 0.5407 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.4459, allocations: 114.3 kB / 0.5408 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.4459, allocations: 6.375 kB / 0.5408 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.446, allocations: 14.58 kB / 0.5408 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.4461, allocations: 8.375 kB / 0.5408 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.4461, allocations: 3.156 kB / 0.5408 GB, free: 6.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007254/0.4468, allocations: 0.6523 MB / 0.5415 GB, free: 6.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4468, allocations: 0 / 0.5415 GB, free: 6.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.4472, allocations: 37.91 kB / 0.5415 GB, free: 6.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.4483, allocations: 455.2 kB / 0.5419 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.4487, allocations: 133 kB / 0.5421 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4487, allocations: 0 / 0.5421 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.4489, allocations: 70.86 kB / 0.5421 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.4494, allocations: 33.16 kB / 0.5422 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.451, allocations: 0.8778 MB / 0.543 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.4514, allocations: 0.8377 MB / 0.5438 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.899e-05/0.4515, allocations: 32.53 kB / 0.5439 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.4516, allocations: 15.44 kB / 0.5439 GB, free: 4.422 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4516, allocations: 0 / 0.5439 GB, free: 4.422 MB / 398.1 MB Notification: Performance of Templates: time 0.006768/0.4583, allocations: 1.95 MB / 0.5458 GB, free: 2.477 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches