Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 88.08 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3421, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00323/0.3454, allocations: 1.725 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.3471, allocations: 1.025 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.3472, allocations: 1.375 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.3475, allocations: 41.39 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.3478, allocations: 92.47 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.348, allocations: 78.94 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3482, allocations: 104.9 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3484, allocations: 14.86 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.3485, allocations: 44.23 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.3485, allocations: 33.41 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3486, allocations: 4.125 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.3487, allocations: 39.48 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.3487, allocations: 18.8 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.3488, allocations: 47.97 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.349, allocations: 117.8 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3491, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3491, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3491, allocations: 5.312 kB / 0.534 GB, free: 10.82 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.0006157/0.3497, allocations: 427.5 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3498, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.3498, allocations: 32.12 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.3498, allocations: 10.39 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.3502, allocations: 221.3 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3502, allocations: 1.75 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3502, allocations: 5.312 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3504, allocations: 57.98 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3504, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3504, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3504, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.3505, allocations: 17.61 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.3509, allocations: 299.3 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3511, allocations: 53.94 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.3512, allocations: 21.25 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3512, allocations: 5.219 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3514, allocations: 73.97 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3514, allocations: 0 / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005344/0.3519, allocations: 182.8 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.352, allocations: 51.41 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3522, allocations: 196.6 kB / 0.5356 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3522, allocations: 30.92 kB / 0.5356 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.3523, allocations: 100.8 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.3523, allocations: 24.2 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.3524, allocations: 28.08 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3526, allocations: 327.2 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-05/0.3526, allocations: 14.19 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.3527, allocations: 39.23 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3529, allocations: 59.33 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3529, allocations: 5.156 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002255/0.3531, allocations: 107.3 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3531, allocations: 9.188 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3531, allocations: 0 / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3532, allocations: 1.531 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3533, allocations: 16.94 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3533, allocations: 1.125 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.3533, allocations: 9.922 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.3533, allocations: 2.5 kB / 0.5363 GB, free: 8.602 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.0001249/0.3535, allocations: 133.1 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3535, allocations: 13.91 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.3536, allocations: 18.64 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.3536, allocations: 1.188 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3536, allocations: 0 / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3536, allocations: 5.438 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.3541, allocations: 394.1 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3541, allocations: 0 / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.3542, allocations: 16.27 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3542, allocations: 5.312 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3542, allocations: 1.375 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3542, allocations: 1.375 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3542, allocations: 0 / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.3545, allocations: 196.4 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.018e-05/0.3546, allocations: 100.6 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.3546, allocations: 9.031 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.3547, allocations: 10.62 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.3548, allocations: 7.734 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3548, allocations: 2.531 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.355, allocations: 144.5 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.355, allocations: 1.531 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.3552, allocations: 28.05 kB / 0.5374 GB, free: 7.633 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.002247/0.3575, allocations: 1.1 MB / 0.5385 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3577, allocations: 62.45 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3577, allocations: 0 / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/0.3578, allocations: 28.89 kB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3582, allocations: 28.38 kB / 0.5386 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3602, allocations: 1.653 MB / 0.5402 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3606, allocations: 0.7054 MB / 0.5409 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.3607, allocations: 14.22 kB / 0.5409 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.3607, allocations: 35.83 kB / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.645e-06/0.3607, allocations: 0 / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.3866, allocations: 3.465 MB / 0.5443 GB, free: 2.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.468, allocations: 8.516 kB / 0.5443 GB, free: 2.656 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches