Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 118.5 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247 MB, free: 10.46 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.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002189, allocations: 79.86 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3515, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003416/0.3549, allocations: 1.689 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.357, allocations: 0.9987 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.3571, allocations: 1.031 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.3575, allocations: 55.12 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.3579, allocations: 102.2 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.3581, allocations: 69.66 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.3583, allocations: 103.2 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.3584, allocations: 8.359 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.455e-05/0.3585, allocations: 42.91 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.3586, allocations: 29.47 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.3586, allocations: 4.125 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3587, allocations: 36.5 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.3588, allocations: 33.47 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.3589, allocations: 37.31 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3591, allocations: 119.2 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3592, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3592, allocations: 1.375 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.3592, allocations: 4 kB / 0.5339 GB, free: 10.83 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006036/0.3598, allocations: 442.2 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.3598, allocations: 9.625 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.3599, allocations: 42.67 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.3599, allocations: 11.77 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.3603, allocations: 218.9 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3603, allocations: 1.75 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3603, allocations: 5.312 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3604, allocations: 56.67 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3605, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3605, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3605, allocations: 5.312 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.3606, allocations: 18.8 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.3608, allocations: 184.9 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.361, allocations: 63.11 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.361, allocations: 17.11 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.3611, allocations: 5.359 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.3612, allocations: 63.77 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3612, allocations: 0 / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003041/0.3615, allocations: 105.4 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.3616, allocations: 56.78 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.3619, allocations: 266.6 kB / 0.5354 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.362, allocations: 31.08 kB / 0.5355 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.3621, allocations: 110.6 kB / 0.5356 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.3621, allocations: 30.31 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.3622, allocations: 15.22 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3623, allocations: 327.9 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.3624, allocations: 14.64 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.3625, allocations: 27.78 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.3626, allocations: 47.61 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3626, allocations: 3.938 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001736/0.3628, allocations: 88.78 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3628, allocations: 5.562 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3628, allocations: 1.156 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3628, allocations: 5.047 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.3629, allocations: 13.12 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.363, allocations: 3.938 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.363, allocations: 7.234 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.363, allocations: 2.375 kB / 0.5361 GB, free: 8.719 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 (7): * Single equations (assignments): 7 * 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.0001342/0.3632, allocations: 140.3 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.3632, allocations: 15.06 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.3632, allocations: 19.7 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3633, allocations: 1.156 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3633, allocations: 4 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3633, allocations: 0 / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.3635, allocations: 200.1 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3635, allocations: 0 / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.3635, allocations: 11.17 kB / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3635, allocations: 5.031 kB / 0.5365 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.3635, allocations: 1.188 kB / 0.5365 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3635, allocations: 320 / 0.5365 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3635, allocations: 0 / 0.5365 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.3638, allocations: 119.5 kB / 0.5366 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.3638, allocations: 92.45 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.3639, allocations: 1.188 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.3639, allocations: 2.156 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.3639, allocations: 6.297 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.364, allocations: 2.406 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.3642, allocations: 198 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3642, allocations: 0 / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.3644, allocations: 25.64 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00187/0.3663, allocations: 0.9493 MB / 0.5379 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.3664, allocations: 39.89 kB / 0.5379 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3665, allocations: 3.938 kB / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.3665, allocations: 24.64 kB / 0.5379 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.3668, allocations: 43.25 kB / 0.538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.3688, allocations: 1.669 MB / 0.5396 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3692, allocations: 0.7156 MB / 0.5403 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.16e-05/0.3693, allocations: 12.05 kB / 0.5403 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.3694, allocations: 41.89 kB / 0.5404 GB, free: 5.031 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3694, allocations: 0 / 0.5404 GB, free: 5.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.3955, allocations: 3.488 MB / 0.5438 GB, free: 3.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.388, allocations: 10.17 kB / 0.5438 GB, free: 3.148 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches