Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 117.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 199.8 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, 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.2403/0.2403, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 75.89 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4606, allocations: 62.45 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004244/0.4649, allocations: 1.727 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.4669, allocations: 1.027 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.4671, allocations: 0 / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.4676, allocations: 58.98 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.4681, allocations: 97.84 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.4685, allocations: 80.3 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.4688, allocations: 104.9 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.469, allocations: 14.86 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.4692, allocations: 38.92 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.4693, allocations: 38.77 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.4693, allocations: 4.125 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.4695, allocations: 43.48 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.4696, allocations: 26.92 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.4697, allocations: 45.25 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.4701, allocations: 139.2 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4701, allocations: 0 / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.4701, allocations: 1.312 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.4701, allocations: 0 / 0.534 GB, free: 10.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009196/0.4711, allocations: 443.2 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.4711, allocations: 9.75 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.4712, allocations: 39.94 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4713, allocations: 19.59 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.4718, allocations: 220.2 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.4719, allocations: 5.875 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.4719, allocations: 5.438 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.4721, allocations: 62.89 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4722, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4722, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4722, allocations: 1.031 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.4723, allocations: 18.52 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.473, allocations: 300.7 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.4732, allocations: 65.47 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.4733, allocations: 17.27 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.4733, allocations: 1.125 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.4736, allocations: 73.81 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.4736, allocations: 0 / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007379/0.4743, allocations: 175.7 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.4744, allocations: 52.53 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.4748, allocations: 280.6 kB / 0.5357 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4748, allocations: 25.7 kB / 0.5357 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.4749, allocations: 115.8 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.475, allocations: 31.48 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.475, allocations: 24.58 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4752, allocations: 327.5 kB / 0.5362 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.4753, allocations: 19.92 kB / 0.5362 GB, free: 8.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-05/0.4753, allocations: 38.45 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.4755, allocations: 59.03 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4755, allocations: 1.75 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002212/0.4757, allocations: 104 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4757, allocations: 5.5 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4757, allocations: 1.375 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4758, allocations: 5.375 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.4759, allocations: 16.36 kB / 0.5364 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4759, allocations: 1.375 kB / 0.5364 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.476, allocations: 9.312 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-06/0.476, allocations: 2.75 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001407/0.4761, allocations: 142.5 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.4762, allocations: 14.69 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.4762, allocations: 25.52 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4762, allocations: 1.438 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4762, allocations: 0 / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4763, allocations: 7.875 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.4768, allocations: 416.3 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4768, allocations: 0.9062 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.4768, allocations: 7.438 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.4768, allocations: 5.031 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4769, allocations: 6.359 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4769, allocations: 0 / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4769, allocations: 0.9688 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.4772, allocations: 210 kB / 0.5372 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.4773, allocations: 85.45 kB / 0.5373 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4773, allocations: 9.062 kB / 0.5373 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.4774, allocations: 6.047 kB / 0.5373 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.4774, allocations: 3.344 kB / 0.5373 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4774, allocations: 3.156 kB / 0.5373 GB, free: 7.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.4777, allocations: 207.4 kB / 0.5375 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4777, allocations: 0 / 0.5375 GB, free: 7.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.478, allocations: 21.62 kB / 0.5375 GB, free: 7.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001956/0.4799, allocations: 1.107 MB / 0.5386 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.4802, allocations: 49.8 kB / 0.5387 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4802, allocations: 0 / 0.5387 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.4803, allocations: 34.23 kB / 0.5387 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.4807, allocations: 34.64 kB / 0.5387 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.4835, allocations: 1.841 MB / 0.5405 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.484, allocations: 0.7168 MB / 0.5412 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.09e-05/0.4841, allocations: 18.08 kB / 0.5412 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.4842, allocations: 44.08 kB / 0.5413 GB, free: 4.355 MB / 398.1 MB Notification: Performance of SimCode: time 2.695e-06/0.4842, allocations: 0 / 0.5413 GB, free: 4.355 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.5074, allocations: 3.824 MB / 0.545 GB, free: 2.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.315, allocations: 9 kB / 0.545 GB, free: 2.305 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time