Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001532/0.001532, allocations: 84.31 kB / 20.68 MB, free: 1.023 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.001592/0.001592, allocations: 164 kB / 23.95 MB, free: 4.156 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.396/1.396, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.1954/0.1954, allocations: 32.81 MB / 293.5 MB, free: 28 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.549e-05, allocations: 5.375 kB / 440.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003221/0.003247, allocations: 1.871 MB / 442.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.006951, allocations: 1.076 MB / 443.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.007051, allocations: 7.938 kB / 443.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.007456, allocations: 151.5 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.0079, allocations: 191.1 kB / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.008162, allocations: 123.5 kB / 443.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.008488, allocations: 251.2 kB / 443.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.008599, allocations: 21.89 kB / 443.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.008801, allocations: 139.6 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.009005, allocations: 123.7 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.009038, allocations: 8 kB / 444.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.00917, allocations: 67.86 kB / 444.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.009272, allocations: 59.75 kB / 444.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.00935, allocations: 39.8 kB / 444.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.009678, allocations: 227.2 kB / 444.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.009681, allocations: 0 / 444.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.009682, allocations: 0 / 444.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.009689, allocations: 4 kB / 444.5 MB, free: 3.695 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007714/0.01046, allocations: 484.5 kB / 445 MB, free: 3.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.0105, allocations: 8.031 kB / 445 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.01057, allocations: 32.69 kB / 445 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.0109, allocations: 217.8 kB / 445.2 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.01091, allocations: 4.375 kB / 445.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.01094, allocations: 12.38 kB / 445.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.0112, allocations: 115.8 kB / 445.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01122, allocations: 3.938 kB / 445.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.01123, allocations: 0 / 445.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.01124, allocations: 4 kB / 445.4 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.01139, allocations: 47.95 kB / 445.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.01194, allocations: 408.4 kB / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.01235, allocations: 121.2 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.01246, allocations: 49.83 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.01248, allocations: 0 / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.01271, allocations: 121.1 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.01272, allocations: 0 / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001383/0.0141, allocations: 0.4929 MB / 446.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.01417, allocations: 92.98 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.01458, allocations: 388.5 kB / 447.1 MB, free: 0.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.01461, allocations: 29.7 kB / 447.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01473, allocations: 152.5 kB / 447.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.0148, allocations: 71.42 kB / 447.3 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.01487, allocations: 41.7 kB / 447.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.01503, allocations: 346.8 kB / 447.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.01517, allocations: 55.98 kB / 447.8 MB, free: 256 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.01533, allocations: 92.7 kB / 447.8 MB, free: 152 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.181/0.1963, allocations: 168.4 kB / 448 MB, free: 21.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1963, allocations: 0 / 448 MB, free: 21.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004897/0.1968, allocations: 235 kB / 448.2 MB, free: 21.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1968, allocations: 5.656 kB / 448.2 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1968, allocations: 8.531 kB / 448.3 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.1968, allocations: 1.062 kB / 448.3 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.197, allocations: 48.5 kB / 448.3 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.197, allocations: 6.344 kB / 448.3 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.1971, allocations: 8.438 kB / 448.3 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1971, allocations: 11.91 kB / 448.3 MB, free: 21.23 MB / 366.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.0001459/0.1973, allocations: 160.8 kB / 448.5 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1973, allocations: 33.53 kB / 448.5 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.1979, allocations: 275.3 kB / 448.8 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1979, allocations: 3.375 kB / 448.8 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1979, allocations: 1.312 kB / 448.8 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1979, allocations: 2.656 kB / 448.8 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008757/0.1987, allocations: 0.6561 MB / 449.4 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1987, allocations: 1.062 kB / 449.5 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1989, allocations: 41.83 kB / 449.5 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.1989, allocations: 6.812 kB / 449.5 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1989, allocations: 9.203 kB / 449.5 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1989, allocations: 3.516 kB / 449.5 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1989, allocations: 2.734 kB / 449.5 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.1994, allocations: 435.8 kB / 449.9 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.1994, allocations: 29.7 kB / 450 MB, free: 20.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.1994, allocations: 9.297 kB / 450 MB, free: 20.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.1996, allocations: 13.19 kB / 450 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.1997, allocations: 22.62 kB / 450 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.1997, allocations: 14.11 kB / 450 MB, free: 20.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.1999, allocations: 286.9 kB / 450.3 MB, free: 20.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1999, allocations: 0 / 450.3 MB, free: 20.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.2003, allocations: 54.91 kB / 450.4 MB, free: 20.29 MB / 366.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 (24): * Single equations (assignments): 20 * 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.002074/0.2024, allocations: 0.5506 MB / 450.9 MB, free: 20.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003499/0.2027, allocations: 154.2 kB / 451.1 MB, free: 20.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2027, allocations: 1.969 kB / 451.1 MB, free: 20.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.2029, allocations: 86.72 kB / 451.1 MB, free: 20.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.2035, allocations: 67.83 kB / 451.2 MB, free: 20.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009395/0.2044, allocations: 0.5163 MB / 451.7 MB, free: 19.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.2046, allocations: 153.4 kB / 451.9 MB, free: 19.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.2047, allocations: 38.56 kB / 451.9 MB, free: 19.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.2048, allocations: 34.66 kB / 452 MB, free: 19.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2048, allocations: 0 / 452 MB, free: 19.61 MB / 366.1 MB Notification: Performance of Templates: time 0.008209/0.213, allocations: 3.29 MB / 455.2 MB, free: 19.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.614187806844711]