Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001967/0.001967, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.002425/0.002425, allocations: 163.5 kB / 23.95 MB, free: 4.172 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.414/1.414, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.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.2014/0.2014, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 440.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.555e-05, allocations: 2.281 kB / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002919/0.002945, allocations: 1.731 MB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.004741, allocations: 0.9781 MB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.004808, allocations: 0 / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.005125, allocations: 87.62 kB / 443 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.005452, allocations: 123.4 kB / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.005642, allocations: 83.59 kB / 443.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.005844, allocations: 127.6 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.00593, allocations: 12 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.00605, allocations: 71.8 kB / 443.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.006171, allocations: 63.8 kB / 443.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.006191, allocations: 4 kB / 443.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.006315, allocations: 59.92 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.006377, allocations: 23.91 kB / 443.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.006428, allocations: 27.86 kB / 443.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.006655, allocations: 143.5 kB / 443.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006657, allocations: 0 / 443.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006658, allocations: 3.938 kB / 443.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006663, allocations: 0 / 443.7 MB, free: 4.543 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005705/0.007233, allocations: 373.3 kB / 444.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.007267, allocations: 8.031 kB / 444.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.00732, allocations: 16.84 kB / 444.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.007557, allocations: 158.3 kB / 444.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.007569, allocations: 384 / 444.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.007593, allocations: 8.375 kB / 444.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.007749, allocations: 66.22 kB / 444.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.007765, allocations: 11.86 kB / 444.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.007774, allocations: 0 / 444.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.007783, allocations: 7.938 kB / 444.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.007865, allocations: 19.98 kB / 444.4 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.008303, allocations: 244.5 kB / 444.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.008564, allocations: 66.48 kB / 444.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.008628, allocations: 20.92 kB / 444.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.008643, allocations: 0 / 444.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.008863, allocations: 79.44 kB / 444.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.008865, allocations: 4 kB / 444.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000792/0.009657, allocations: 253.1 kB / 445 MB, free: 3.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.009704, allocations: 51.41 kB / 445.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.009962, allocations: 239.6 kB / 445.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.009986, allocations: 29.7 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.01007, allocations: 108.1 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.01012, allocations: 39.69 kB / 445.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.01017, allocations: 29.72 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.01034, allocations: 334.8 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.01041, allocations: 27.98 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.494e-05/0.0105, allocations: 52.27 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.01066, allocations: 81.75 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01066, allocations: 0 / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002607/0.01092, allocations: 133.5 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01093, allocations: 8 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01094, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.01095, allocations: 4.031 kB / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.01104, allocations: 23.98 kB / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.01104, allocations: 0 / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.01109, allocations: 4 kB / 446.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.0111, allocations: 4 kB / 446.2 MB, free: 1.902 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001262/0.01122, allocations: 149.2 kB / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.01125, allocations: 11.91 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.01157, allocations: 151.8 kB / 446.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01158, allocations: 0 / 446.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.01158, allocations: 8 kB / 446.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01159, allocations: 0 / 446.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.01219, allocations: 415.5 kB / 446.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01219, allocations: 0 / 446.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.01224, allocations: 16 kB / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01225, allocations: 0 / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01226, allocations: 4 kB / 446.9 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.01227, allocations: 7.922 kB / 446.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.01227, allocations: 7.938 kB / 446.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.01263, allocations: 237.2 kB / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.01265, allocations: 15.89 kB / 447.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.01268, allocations: 4 kB / 447.2 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.01275, allocations: 4 kB / 447.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.0128, allocations: 11.92 kB / 447.2 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.01281, allocations: 4 kB / 447.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.01298, allocations: 183.2 kB / 447.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01298, allocations: 0 / 447.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.01325, allocations: 35.92 kB / 447.4 MB, free: 0.5859 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001994/0.01524, allocations: 0.5475 MB / 447.9 MB, free: 284 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.01546, allocations: 79.91 kB / 448 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01546, allocations: 0 / 448 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.01555, allocations: 39.92 kB / 448.1 MB, free: 164 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.01592, allocations: 39.25 kB / 448.1 MB, free: 128 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1735/0.1895, allocations: 286.8 kB / 448.4 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.787e-05/0.1896, allocations: 107.6 kB / 448.5 MB, free: 21.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.255e-05/0.1896, allocations: 17.83 kB / 448.5 MB, free: 21.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.1897, allocations: 19.81 kB / 448.5 MB, free: 21.17 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.1897, allocations: 2.562 kB / 448.5 MB, free: 21.17 MB / 366.1 MB Notification: Performance of Templates: time 0.005856/0.1956, allocations: 2.099 MB / 450.6 MB, free: 21.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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: 4.62778040394187]