Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 65.48 MB / 0.557 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003236/0.3179, allocations: 1.713 MB / 0.5587 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.3206, allocations: 1.661 MB / 0.5603 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.3206, allocations: 4 kB / 0.5603 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.3209, allocations: 35.77 kB / 0.5604 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.3212, allocations: 103.5 kB / 0.5605 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.3214, allocations: 71.75 kB / 0.5605 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.3216, allocations: 119.6 kB / 0.5606 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3217, allocations: 9.828 kB / 0.5607 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.09e-05/0.3218, allocations: 51.78 kB / 0.5607 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.322, allocations: 35.83 kB / 0.5607 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.322, allocations: 4 kB / 0.5607 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.3222, allocations: 107.9 kB / 0.5608 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.3222, allocations: 15.92 kB / 0.5609 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.3223, allocations: 31.8 kB / 0.5609 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.3226, allocations: 167.4 kB / 0.5611 GB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3226, allocations: 4 kB / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3226, allocations: 0 / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3226, allocations: 4 kB / 0.5611 GB, free: 3.258 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.0006608/0.3233, allocations: 359.8 kB / 0.5614 GB, free: 2.879 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3233, allocations: 8.031 kB / 0.5614 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.3234, allocations: 30.75 kB / 0.5614 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.3234, allocations: 16.84 kB / 0.5615 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.3237, allocations: 153.5 kB / 0.5616 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3237, allocations: 4 kB / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3238, allocations: 0 / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3239, allocations: 101 kB / 0.5617 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.324, allocations: 4 kB / 0.5617 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.324, allocations: 0 / 0.5617 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.324, allocations: 4 kB / 0.5617 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.3241, allocations: 19.98 kB / 0.5617 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.3244, allocations: 252 kB / 0.562 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3246, allocations: 58.62 kB / 0.562 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.3247, allocations: 20.84 kB / 0.562 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.3247, allocations: 0 / 0.562 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.3249, allocations: 67.39 kB / 0.5621 GB, free: 2.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3249, allocations: 4 kB / 0.5621 GB, free: 2.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005743/0.3254, allocations: 189.3 kB / 0.5623 GB, free: 1.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.3255, allocations: 81.05 kB / 0.5624 GB, free: 1.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3257, allocations: 170.1 kB / 0.5625 GB, free: 1.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3257, allocations: 29.7 kB / 0.5626 GB, free: 1.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.3258, allocations: 100.1 kB / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.3258, allocations: 27.75 kB / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.3258, allocations: 25.7 kB / 0.5627 GB, free: 1.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.326, allocations: 314.8 kB / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.326, allocations: 27.98 kB / 0.563 GB, free: 1.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3261, allocations: 76.14 kB / 0.5631 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3263, allocations: 61.7 kB / 0.5632 GB, free: 0.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3263, allocations: 384 / 0.5632 GB, free: 0.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002126/0.3265, allocations: 105.5 kB / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3265, allocations: 4 kB / 0.5633 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3265, allocations: 0 / 0.5633 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3265, allocations: 4 kB / 0.5633 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.3266, allocations: 27.86 kB / 0.5633 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3266, allocations: 4.062 kB / 0.5633 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.3267, allocations: 8 kB / 0.5633 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3267, allocations: 0 / 0.5633 GB, free: 0.7188 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.0001078/0.3268, allocations: 124.7 kB / 0.5634 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3268, allocations: 7.953 kB / 0.5634 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.3271, allocations: 130.4 kB / 0.5636 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3271, allocations: 7.938 kB / 0.5636 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3271, allocations: 0 / 0.5636 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3271, allocations: 0 / 0.5636 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.3276, allocations: 366.4 kB / 0.5639 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3276, allocations: 3.938 kB / 0.5639 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.3277, allocations: 8 kB / 0.5639 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3277, allocations: 4 kB / 0.5639 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3277, allocations: 7.984 kB / 0.5639 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3277, allocations: 0 / 0.5639 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3277, allocations: 4 kB / 0.5639 GB, free: 0 / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.328, allocations: 212.3 kB / 0.5642 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.328, allocations: 16.25 kB / 0.5642 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.328, allocations: 8 kB / 0.5642 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.3281, allocations: 4.031 kB / 0.5642 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.3282, allocations: 11.97 kB / 0.5642 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3282, allocations: 7.938 kB / 0.5642 GB, free: 15.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.3283, allocations: 131.2 kB / 0.5643 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3283, allocations: 0 / 0.5643 GB, free: 15.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.3286, allocations: 51.81 kB / 0.5644 GB, free: 15.54 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.00255/0.3312, allocations: 1.231 MB / 0.5656 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3314, allocations: 63.91 kB / 0.5656 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3314, allocations: 0 / 0.5656 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.3315, allocations: 27.92 kB / 0.5657 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3318, allocations: 38.86 kB / 0.5657 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.3337, allocations: 1.609 MB / 0.5673 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.296e-05/0.3338, allocations: 81.33 kB / 0.5673 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.822e-05/0.3338, allocations: 21.27 kB / 0.5674 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.3339, allocations: 35.41 kB / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3339, allocations: 0 / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.366, allocations: 4.734 MB / 0.572 GB, free: 7.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.77, allocations: 12.38 kB / 0.572 GB, free: 7.855 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.749444612767547]