Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001723, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.95 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] 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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 83.86 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3478, allocations: 66.08 MB / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003894/0.3517, allocations: 2.176 MB / 0.5629 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.354, allocations: 1.268 MB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3541, allocations: 4 kB / 0.5641 GB, free: 440 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.3545, allocations: 143.2 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.3551, allocations: 270.8 kB / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.3555, allocations: 183.7 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005232/0.356, allocations: 474.5 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.3562, allocations: 43.08 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.3565, allocations: 338.9 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.3568, allocations: 167.1 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.3568, allocations: 16 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.357, allocations: 75.98 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.3571, allocations: 159.4 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3573, allocations: 150.7 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005962/0.3579, allocations: 493.4 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3579, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3579, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3579, allocations: 4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001196/0.3591, allocations: 0.8418 MB / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3592, allocations: 12.03 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.539e-05/0.3592, allocations: 50.73 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.3593, allocations: 72.47 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.3599, allocations: 367 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3599, allocations: 12.38 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.36, allocations: 16.33 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.3604, allocations: 201 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3604, allocations: 4 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.3604, allocations: 7.984 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.3604, allocations: 8 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.3607, allocations: 99.86 kB / 0.5682 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3617, allocations: 0.7851 MB / 0.5689 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.3623, allocations: 234.5 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.3625, allocations: 95.45 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3625, allocations: 7.938 kB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/0.3629, allocations: 200.2 kB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.3629, allocations: 0 / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002636/0.3656, allocations: 1.238 MB / 0.5707 GB, free: 9.508 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.3657, allocations: 136.5 kB / 0.5708 GB, free: 9.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.3668, allocations: 0.9731 MB / 0.5717 GB, free: 8.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.3668, allocations: 37.7 kB / 0.5718 GB, free: 8.316 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.3671, allocations: 289 kB / 0.5721 GB, free: 8.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.3672, allocations: 142.8 kB / 0.5722 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.3673, allocations: 82.02 kB / 0.5723 GB, free: 7.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3675, allocations: 325.9 kB / 0.5726 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.3678, allocations: 116.8 kB / 0.5727 GB, free: 7.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.3681, allocations: 191.2 kB / 0.5729 GB, free: 7.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.3687, allocations: 331 kB / 0.5732 GB, free: 6.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3687, allocations: 0 / 0.5732 GB, free: 6.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008437/0.3695, allocations: 465.1 kB / 0.5736 GB, free: 6.348 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3695, allocations: 8 kB / 0.5736 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3695, allocations: 0 / 0.5736 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3695, allocations: 4 kB / 0.5736 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3698, allocations: 87.83 kB / 0.5737 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3699, allocations: 4 kB / 0.5737 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.37, allocations: 23.92 kB / 0.5738 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.37, allocations: 23.94 kB / 0.5738 GB, free: 6.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000297/0.3703, allocations: 264.2 kB / 0.574 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3704, allocations: 79.48 kB / 0.5741 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.3715, allocations: 0.5304 MB / 0.5746 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3715, allocations: 8 kB / 0.5746 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3715, allocations: 3.938 kB / 0.5746 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3715, allocations: 3.984 kB / 0.5746 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.3735, allocations: 1.31 MB / 0.5759 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3735, allocations: 4.094 kB / 0.5759 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.3737, allocations: 71.78 kB / 0.576 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3737, allocations: 4 kB / 0.576 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.3737, allocations: 19.98 kB / 0.576 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3737, allocations: 8 kB / 0.576 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3737, allocations: 0 / 0.576 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3747, allocations: 0.8398 MB / 0.5768 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.3749, allocations: 119.4 kB / 0.577 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.375, allocations: 12 kB / 0.577 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.3753, allocations: 19.98 kB / 0.577 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.3754, allocations: 43.81 kB / 0.577 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.3754, allocations: 27.98 kB / 0.5771 GB, free: 2.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008105/0.3762, allocations: 0.7138 MB / 0.5777 GB, free: 1.984 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3762, allocations: 0 / 0.5777 GB, free: 1.984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.3768, allocations: 95.92 kB / 0.5778 GB, free: 1.891 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003315/0.3801, allocations: 1.848 MB / 0.5796 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006761/0.3808, allocations: 311.6 kB / 0.5799 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3808, allocations: 4.062 kB / 0.5799 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.3811, allocations: 155.7 kB / 0.5801 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009475/0.382, allocations: 126.1 kB / 0.5802 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006601/0.3886, allocations: 5.199 MB / 0.5853 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.389, allocations: 318 kB / 0.5856 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.3892, allocations: 79.23 kB / 0.5857 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.3895, allocations: 215.3 kB / 0.5859 GB, free: 9.613 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3895, allocations: 0 / 0.5859 GB, free: 9.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/0.4299, allocations: 12.61 MB / 0.5982 GB, free: 13.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.85, allocations: 10.7 kB / 0.5982 GB, free: 13.04 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.899285525083542]