Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 122.1 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.001253/0.001253, 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.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 79.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.372, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003192/0.3752, allocations: 1.728 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.3777, allocations: 1.623 MB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.3778, allocations: 1.156 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.3782, allocations: 40.17 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.3785, allocations: 100.5 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.3787, allocations: 83.62 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.3789, allocations: 105.6 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.379, allocations: 18.86 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.496e-05/0.3791, allocations: 49.66 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3793, allocations: 48.27 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3793, allocations: 5.5 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.3795, allocations: 111 kB / 0.5345 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.3796, allocations: 22.8 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.3797, allocations: 35.98 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.38, allocations: 181 kB / 0.5348 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.38, allocations: 1.375 kB / 0.5348 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.38, allocations: 0 / 0.5348 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3801, allocations: 4 kB / 0.5348 GB, free: 10.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006523/0.3807, allocations: 444.8 kB / 0.5352 GB, free: 9.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3808, allocations: 9.625 kB / 0.5352 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.3808, allocations: 40.11 kB / 0.5352 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.3809, allocations: 9.016 kB / 0.5352 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3812, allocations: 214 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3812, allocations: 1.75 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3812, allocations: 14.67 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3814, allocations: 73.27 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3815, allocations: 3.953 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3815, allocations: 1.375 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3815, allocations: 5.359 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.3816, allocations: 31.09 kB / 0.5356 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.382, allocations: 301.5 kB / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.3822, allocations: 72.77 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.3823, allocations: 23.84 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.3823, allocations: 2.25 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.3825, allocations: 67.2 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.3825, allocations: 3.938 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005949/0.3831, allocations: 208.2 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.3832, allocations: 86.38 kB / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3834, allocations: 171 kB / 0.5365 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3834, allocations: 30.67 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.3835, allocations: 100.6 kB / 0.5366 GB, free: 8.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3836, allocations: 28.19 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.3836, allocations: 29.61 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3838, allocations: 330.2 kB / 0.537 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.3838, allocations: 20.78 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/0.3839, allocations: 52.2 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3841, allocations: 71.88 kB / 0.5371 GB, free: 7.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3841, allocations: 3.938 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002187/0.3843, allocations: 115.3 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3843, allocations: 9.562 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3843, allocations: 0 / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3844, allocations: 1.219 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.3845, allocations: 18.86 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3845, allocations: 1.156 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.3845, allocations: 10.31 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3845, allocations: 3.281 kB / 0.5373 GB, free: 7.867 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 (11): * Single equations (assignments): 11 * 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.0001238/0.3847, allocations: 131.1 kB / 0.5374 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.3847, allocations: 9.078 kB / 0.5374 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.3848, allocations: 17.56 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3848, allocations: 5.016 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3848, allocations: 1 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3848, allocations: 3.938 kB / 0.5374 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.3853, allocations: 418.4 kB / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3853, allocations: 1.125 kB / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.3854, allocations: 9 kB / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3854, allocations: 5.031 kB / 0.5378 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3854, allocations: 6.094 kB / 0.5378 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3854, allocations: 1.156 kB / 0.5378 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3854, allocations: 3.984 kB / 0.5378 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3857, allocations: 213.4 kB / 0.538 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.696e-05/0.3858, allocations: 87.38 kB / 0.5381 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.3858, allocations: 9.156 kB / 0.5381 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.3859, allocations: 10.39 kB / 0.5381 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.386, allocations: 8.188 kB / 0.5381 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.386, allocations: 7.672 kB / 0.5382 GB, free: 7.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.3861, allocations: 131.3 kB / 0.5383 GB, free: 6.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3861, allocations: 0 / 0.5383 GB, free: 6.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.3865, allocations: 47.39 kB / 0.5383 GB, free: 6.887 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 (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.002404/0.3889, allocations: 1.199 MB / 0.5395 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3891, allocations: 68.44 kB / 0.5396 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3891, allocations: 4.062 kB / 0.5396 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.3892, allocations: 32.36 kB / 0.5396 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3895, allocations: 34.23 kB / 0.5396 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.3915, allocations: 1.652 MB / 0.5412 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3919, allocations: 0.7079 MB / 0.5419 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.521e-05/0.392, allocations: 30.39 kB / 0.542 GB, free: 3.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.3921, allocations: 42.08 kB / 0.542 GB, free: 3.703 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3921, allocations: 1.062 kB / 0.542 GB, free: 3.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.4208, allocations: 4.17 MB / 0.5461 GB, free: 1.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.559, allocations: 13.05 kB / 0.5461 GB, free: 1.402 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches