Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 118.8 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.001317/0.001317, allocations: 198 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.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 83.86 kB / 481 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3601, allocations: 62.43 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003372/0.3635, allocations: 1.748 MB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3654, allocations: 1.01 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.3655, allocations: 5.719 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.3658, allocations: 43.05 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.3662, allocations: 100.2 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.3664, allocations: 82.92 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3666, allocations: 101 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3668, allocations: 6.844 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.3669, allocations: 43.19 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.355e-05/0.367, allocations: 42.78 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.367, allocations: 4.125 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3671, allocations: 39.48 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.3672, allocations: 18.8 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.3673, allocations: 41.3 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3676, allocations: 129.8 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3676, allocations: 1.375 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3676, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3676, allocations: 0 / 0.534 GB, free: 10.76 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.0007547/0.3684, allocations: 430.2 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.3684, allocations: 9.625 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.3685, allocations: 32.12 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.3685, allocations: 9.016 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.3689, allocations: 225.9 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3689, allocations: 1.75 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3689, allocations: 5.312 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.3691, allocations: 54.05 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3692, allocations: 1.375 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3692, allocations: 4 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3692, allocations: 1.375 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.218e-05/0.3693, allocations: 17.61 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.3698, allocations: 296.2 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.37, allocations: 57.86 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.3701, allocations: 29.03 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.3701, allocations: 1.375 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.3703, allocations: 65.14 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.3703, allocations: 0 / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006584/0.371, allocations: 183.7 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.3711, allocations: 51.41 kB / 0.5354 GB, free: 9.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.3714, allocations: 208.1 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3714, allocations: 31.61 kB / 0.5357 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3715, allocations: 104.8 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.3716, allocations: 23.59 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.3716, allocations: 24.56 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3719, allocations: 326.9 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.3719, allocations: 22.42 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.045e-05/0.372, allocations: 35.52 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3722, allocations: 63.39 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3722, allocations: 384 / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002102/0.3724, allocations: 104.5 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3724, allocations: 5.812 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3725, allocations: 0 / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3725, allocations: 5.188 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3726, allocations: 21.27 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.3726, allocations: 9.219 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.3727, allocations: 10.03 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3727, allocations: 2.25 kB / 0.5364 GB, free: 8.527 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.0001232/0.3728, allocations: 128.4 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3728, allocations: 13.59 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.3729, allocations: 15 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3729, allocations: 1.188 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3729, allocations: 0 / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.3729, allocations: 8.984 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.3735, allocations: 399.2 kB / 0.5369 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3735, allocations: 1.156 kB / 0.5369 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.3735, allocations: 6.969 kB / 0.5369 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.3735, allocations: 5.156 kB / 0.5369 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3736, allocations: 5.297 kB / 0.5369 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3736, allocations: 5.281 kB / 0.5369 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3736, allocations: 1.25 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.3738, allocations: 208.5 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.3739, allocations: 84.12 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3739, allocations: 9.906 kB / 0.5372 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.374, allocations: 6.234 kB / 0.5372 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.3741, allocations: 2.688 kB / 0.5372 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3741, allocations: 4.156 kB / 0.5373 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3743, allocations: 162.4 kB / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3743, allocations: 4 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3745, allocations: 24.77 kB / 0.5374 GB, free: 7.559 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.00235/0.3769, allocations: 1.093 MB / 0.5385 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3771, allocations: 58.28 kB / 0.5386 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3771, allocations: 3.938 kB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.3772, allocations: 30.14 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3776, allocations: 42.94 kB / 0.5386 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3796, allocations: 1.682 MB / 0.5403 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.38, allocations: 0.7114 MB / 0.541 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.3801, allocations: 17.31 kB / 0.541 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.3802, allocations: 40.02 kB / 0.541 GB, free: 4.43 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3802, allocations: 3.938 kB / 0.541 GB, free: 4.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.4047, allocations: 3.509 MB / 0.5445 GB, free: 2.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.511, allocations: 11.69 kB / 0.5445 GB, free: 2.531 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches