Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001186/0.001186, allocations: 117.2 kB / 17.78 MB, free: 5.383 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: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, 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.2432/0.2432, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 87.86 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3746, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00328/0.378, allocations: 1.73 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3798, allocations: 1.014 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.3799, allocations: 3.938 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.3802, allocations: 45.56 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.3805, allocations: 103 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.3807, allocations: 80.28 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3809, allocations: 101 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.381, allocations: 10.7 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.017e-05/0.3811, allocations: 39.67 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.3812, allocations: 33.66 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3812, allocations: 3.438 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.3813, allocations: 44.27 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.3814, allocations: 27.19 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.3814, allocations: 41.17 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.3816, allocations: 122.2 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3817, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3817, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3817, allocations: 1.406 kB / 0.534 GB, free: 10.81 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.0005644/0.3822, allocations: 425.3 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3823, allocations: 9.781 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.3823, allocations: 43.75 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.3824, allocations: 14.5 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.3827, allocations: 216.6 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3827, allocations: 5.547 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3827, allocations: 10.19 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3829, allocations: 50.33 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3829, allocations: 0 / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3829, allocations: 5.094 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3829, allocations: 0 / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.383, allocations: 23.27 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.3834, allocations: 291.3 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3836, allocations: 57.45 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.3837, allocations: 18.39 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3837, allocations: 5.281 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.3838, allocations: 76.11 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3839, allocations: 1.219 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005629/0.3844, allocations: 178.6 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.3845, allocations: 56.47 kB / 0.5354 GB, free: 9.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.3847, allocations: 215.4 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3847, allocations: 27.08 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.3848, allocations: 109.6 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.3848, allocations: 19.97 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.3849, allocations: 28.58 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.385, allocations: 321.6 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.3851, allocations: 19 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.3852, allocations: 35.45 kB / 0.5362 GB, free: 8.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3853, allocations: 63.77 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3853, allocations: 0 / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.3855, allocations: 100.2 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3855, allocations: 9.484 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3855, allocations: 0 / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3855, allocations: 1.375 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.3856, allocations: 17.69 kB / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3856, allocations: 0 / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.3857, allocations: 10.62 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3857, allocations: 14.77 kB / 0.5364 GB, free: 8.57 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.0001035/0.3858, allocations: 119.7 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.3859, allocations: 14.78 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.3859, allocations: 22.83 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3859, allocations: 1.375 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3859, allocations: 0 / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.386, allocations: 3.938 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.3865, allocations: 408.2 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3865, allocations: 0 / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.3865, allocations: 8.219 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.3866, allocations: 5.031 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3866, allocations: 1.125 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.3866, allocations: 1.094 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3866, allocations: 9.312 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3868, allocations: 205 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.3869, allocations: 88.23 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3869, allocations: 5 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.387, allocations: 6.219 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.387, allocations: 11.11 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3871, allocations: 4.438 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.3872, allocations: 158.2 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3872, allocations: 0 / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.3875, allocations: 20.84 kB / 0.5374 GB, free: 7.605 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.002095/0.3896, allocations: 1.097 MB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3898, allocations: 58.08 kB / 0.5386 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3898, allocations: 0 / 0.5386 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3899, allocations: 33.92 kB / 0.5386 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3903, allocations: 27.44 kB / 0.5386 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3921, allocations: 1.7 MB / 0.5403 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3925, allocations: 0.7066 MB / 0.541 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.3925, allocations: 17.7 kB / 0.541 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.3926, allocations: 44.45 kB / 0.541 GB, free: 4.465 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3926, allocations: 0 / 0.541 GB, free: 4.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.4157, allocations: 3.51 MB / 0.5444 GB, free: 2.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.629, allocations: 5.484 kB / 0.5445 GB, free: 2.574 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches