Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.001349/0.001349, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001403/0.001403, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.224/0.224, allocations: 46.94 MB / 360.8 MB, free: 3.914 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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 80.16 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3599, allocations: 66.08 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003383/0.3632, allocations: 1.712 MB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3651, allocations: 0.9632 MB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.3652, allocations: 4 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.3655, allocations: 55.75 kB / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.3658, allocations: 103.5 kB / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.3661, allocations: 75.73 kB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3663, allocations: 111.6 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3664, allocations: 13.81 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.3665, allocations: 39.8 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.3666, allocations: 43.77 kB / 0.5638 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.3667, allocations: 4 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3668, allocations: 36 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.3668, allocations: 35.84 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.3669, allocations: 27.75 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.3672, allocations: 143.4 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3672, allocations: 0 / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3672, allocations: 0 / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3672, allocations: 0 / 0.564 GB, free: 0.6133 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.0006626/0.3678, allocations: 377.2 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3679, allocations: 16.03 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.3679, allocations: 30.75 kB / 0.5644 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.368, allocations: 20.78 kB / 0.5645 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.3683, allocations: 155.3 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3683, allocations: 4.375 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.3683, allocations: 4.359 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3685, allocations: 61.8 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3685, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3685, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3685, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.3686, allocations: 27.98 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.369, allocations: 279.8 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3692, allocations: 50.69 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.3693, allocations: 20.84 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3693, allocations: 0 / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.3695, allocations: 71.33 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3695, allocations: 0 / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006245/0.3701, allocations: 189.3 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.3701, allocations: 59.34 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.3705, allocations: 274.8 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3705, allocations: 29.7 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.3706, allocations: 120.1 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.3706, allocations: 27.77 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.3707, allocations: 25.72 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3708, allocations: 334.8 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.3709, allocations: 19.94 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.371, allocations: 41.64 kB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3711, allocations: 69.64 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3711, allocations: 0 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002203/0.3714, allocations: 109.5 kB / 0.5663 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3714, allocations: 6.5 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3714, allocations: 0 / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3714, allocations: 4 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.3715, allocations: 19.92 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3715, allocations: 0 / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.3715, allocations: 4 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3716, allocations: 4 kB / 0.5664 GB, free: 14 MB / 414.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.0001253/0.3717, allocations: 137.8 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3717, allocations: 15.91 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.372, allocations: 127 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.372, allocations: 0 / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.372, allocations: 4 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.372, allocations: 7.969 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.3726, allocations: 378.4 kB / 0.567 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3726, allocations: 0 / 0.567 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.3726, allocations: 16.39 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3726, allocations: 4 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3726, allocations: 0 / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.3726, allocations: 8.172 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3726, allocations: 3.938 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.373, allocations: 220.3 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.373, allocations: 11.91 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.373, allocations: 3.984 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.3731, allocations: 16.25 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3731, allocations: 7.984 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3732, allocations: 8 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002279/0.3734, allocations: 208.6 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3734, allocations: 3.938 kB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.3737, allocations: 27.89 kB / 0.5675 GB, free: 12.71 MB / 414.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.002409/0.3761, allocations: 1.126 MB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.3763, allocations: 55.86 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3763, allocations: 0 / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.529e-05/0.3764, allocations: 39.91 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.3768, allocations: 34.12 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.3793, allocations: 1.843 MB / 0.5706 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.3794, allocations: 105.2 kB / 0.5707 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.3795, allocations: 17.27 kB / 0.5707 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.3796, allocations: 43.42 kB / 0.5707 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3796, allocations: 3.938 kB / 0.5707 GB, free: 9.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.4106, allocations: 4.473 MB / 0.5751 GB, free: 5.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.37, allocations: 3.984 kB / 0.5751 GB, free: 5.047 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.304127394687384]