Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.00128/0.00128, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001395/0.001395, allocations: 219.8 kB / 24.53 MB, free: 4.008 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.39/1.39, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2145/0.2145, allocations: 46.93 MB / 361.6 MB, free: 4.184 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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 75.88 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3423, allocations: 66.08 MB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003411/0.3457, allocations: 1.944 MB / 0.5635 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3477, allocations: 1.15 MB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.3478, allocations: 7.938 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.3483, allocations: 159.5 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.3487, allocations: 191.2 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.349, allocations: 115.6 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.3493, allocations: 247.3 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3494, allocations: 23.78 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3496, allocations: 115.5 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.3498, allocations: 147.5 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3499, allocations: 8 kB / 0.5656 GB, free: 172 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.35, allocations: 59.98 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.3501, allocations: 59.72 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3502, allocations: 87.42 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.3505, allocations: 222.9 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3505, allocations: 4 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3505, allocations: 0 / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3505, allocations: 0 / 0.566 GB, free: 15.74 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000735/0.3512, allocations: 476.5 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3513, allocations: 12.03 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.75e-05/0.3513, allocations: 12.12 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.3514, allocations: 42.73 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.3514, allocations: 28.75 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.3518, allocations: 210.6 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3518, allocations: 8.359 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.3519, allocations: 12.38 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3521, allocations: 121.7 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3521, allocations: 4 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3521, allocations: 0 / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3521, allocations: 4 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.3523, allocations: 51.84 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.3529, allocations: 427.9 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.3533, allocations: 121.2 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3534, allocations: 45.81 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3534, allocations: 160 / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.3537, allocations: 136.9 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.3537, allocations: 3.938 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001364/0.355, allocations: 0.4898 MB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.3551, allocations: 77.11 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.3555, allocations: 372.5 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3555, allocations: 37.64 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3556, allocations: 148.5 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.3557, allocations: 71.38 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.3558, allocations: 45.66 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.356, allocations: 342.8 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3561, allocations: 59.97 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.3562, allocations: 92.72 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.3565, allocations: 155.5 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3565, allocations: 0 / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004153/0.3569, allocations: 229.3 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.357, allocations: 14.34 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.357, allocations: 4 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.357, allocations: 0 / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3571, allocations: 43.92 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3571, allocations: 7.984 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.3572, allocations: 8 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.3572, allocations: 4 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002028/0.3574, allocations: 162.2 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.3575, allocations: 35.75 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.358, allocations: 259.3 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.358, allocations: 4 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.358, allocations: 0 / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.358, allocations: 3.938 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.359, allocations: 0.6989 MB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.359, allocations: 4 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.3591, allocations: 31.98 kB / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3591, allocations: 192 / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3592, allocations: 8 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3592, allocations: 7.938 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.038e-05/0.3592, allocations: 11.92 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.3597, allocations: 418 kB / 0.5713 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.3598, allocations: 19.86 kB / 0.5713 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.3598, allocations: 11.98 kB / 0.5713 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.36, allocations: 8 kB / 0.5714 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.3601, allocations: 27.84 kB / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.3601, allocations: 12 kB / 0.5714 GB, free: 9.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003115/0.3604, allocations: 279 kB / 0.5717 GB, free: 9.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3604, allocations: 4 kB / 0.5717 GB, free: 9.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.3608, allocations: 47.94 kB / 0.5717 GB, free: 9.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00297/0.3638, allocations: 1.352 MB / 0.573 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004285/0.3642, allocations: 151.7 kB / 0.5732 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.3642, allocations: 4 kB / 0.5732 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3643, allocations: 75.84 kB / 0.5732 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.365, allocations: 67.39 kB / 0.5733 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.3686, allocations: 2.711 MB / 0.576 GB, free: 5.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.3691, allocations: 0.7674 MB / 0.5767 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.3692, allocations: 41.84 kB / 0.5767 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3694, allocations: 91.39 kB / 0.5768 GB, free: 4.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3694, allocations: 0 / 0.5768 GB, free: 4.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.3988, allocations: 6.378 MB / 0.5831 GB, free: 13.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.13, allocations: 4.062 kB / 0.5831 GB, free: 13.92 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.068560610001441]