Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001663/0.001663, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00196/0.00196, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, 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.2273/0.2273, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 83.88 kB / 481 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3664, allocations: 62.46 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003525/0.37, allocations: 1.946 MB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3718, allocations: 1.05 MB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.372, allocations: 2.625 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.3723, allocations: 49.02 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.3727, allocations: 102 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.3729, allocations: 94.81 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.3732, allocations: 149 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3733, allocations: 26.91 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3735, allocations: 60.27 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3736, allocations: 49.48 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.3736, allocations: 6.938 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3737, allocations: 47.48 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.3738, allocations: 29.97 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.3739, allocations: 58.81 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.3742, allocations: 148.6 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3742, allocations: 1.281 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3742, allocations: 0 / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3742, allocations: 4 kB / 0.5344 GB, free: 10.44 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007469/0.375, allocations: 492.5 kB / 0.5349 GB, free: 9.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.375, allocations: 9.625 kB / 0.5349 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.3751, allocations: 37.5 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.3751, allocations: 17.09 kB / 0.5349 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.3755, allocations: 235.7 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3755, allocations: 7.125 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3756, allocations: 17.42 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.3758, allocations: 103.3 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3758, allocations: 5.312 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3759, allocations: 9.359 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3759, allocations: 1.375 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.376, allocations: 50.03 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.3767, allocations: 0.4997 MB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.3771, allocations: 93.09 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.3772, allocations: 38.72 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.3772, allocations: 1.375 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.3774, allocations: 81.38 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3774, allocations: 1.375 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004247/0.3779, allocations: 142.9 kB / 0.5362 GB, free: 8.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.3779, allocations: 64.52 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3782, allocations: 202.5 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.3782, allocations: 31.08 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3783, allocations: 115.8 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.3784, allocations: 35.67 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.3784, allocations: 26.03 kB / 0.5366 GB, free: 8.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3786, allocations: 326.8 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/0.3787, allocations: 32.86 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3788, allocations: 63.98 kB / 0.537 GB, free: 7.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.3791, allocations: 93.69 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3791, allocations: 1.438 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002952/0.3794, allocations: 140.8 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3794, allocations: 5.906 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3794, allocations: 1.125 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3794, allocations: 6.25 kB / 0.5373 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3796, allocations: 26.92 kB / 0.5373 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3796, allocations: 5.156 kB / 0.5373 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.3797, allocations: 17.75 kB / 0.5373 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3797, allocations: 3.281 kB / 0.5373 GB, free: 7.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001507/0.3798, allocations: 129.7 kB / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3799, allocations: 14.59 kB / 0.5375 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.3799, allocations: 21.98 kB / 0.5375 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3799, allocations: 5.031 kB / 0.5375 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3799, allocations: 0 / 0.5375 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.38, allocations: 5.188 kB / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.3802, allocations: 214.5 kB / 0.5377 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3802, allocations: 0 / 0.5377 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.3803, allocations: 13.73 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3803, allocations: 1.281 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3803, allocations: 1.031 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3803, allocations: 3.938 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3804, allocations: 5.109 kB / 0.5377 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.3807, allocations: 185.1 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.3808, allocations: 92.52 kB / 0.538 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3809, allocations: 1.219 kB / 0.538 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.3809, allocations: 12.36 kB / 0.538 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.381, allocations: 3.781 kB / 0.538 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.381, allocations: 6.875 kB / 0.538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.3812, allocations: 141.5 kB / 0.5381 GB, free: 7.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.3812, allocations: 3.938 kB / 0.5381 GB, free: 7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.3814, allocations: 40.2 kB / 0.5382 GB, free: 6.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002155/0.3836, allocations: 1.006 MB / 0.5392 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.3839, allocations: 84.14 kB / 0.5392 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3839, allocations: 0 / 0.5392 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.384, allocations: 38.3 kB / 0.5393 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3843, allocations: 47.59 kB / 0.5393 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3867, allocations: 1.76 MB / 0.541 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3872, allocations: 0.7159 MB / 0.5417 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.866e-05/0.3872, allocations: 20 kB / 0.5418 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.3873, allocations: 44.36 kB / 0.5418 GB, free: 3.871 MB / 398.1 MB Notification: Performance of SimCode: time 1.056e-05/0.3874, allocations: 3.938 kB / 0.5418 GB, free: 3.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.4177, allocations: 3.817 MB / 0.5455 GB, free: 1.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.474, allocations: 11.33 kB / 0.5456 GB, free: 1.828 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches