Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001157/0.001157, allocations: 87.58 kB / 21.19 MB, free: 3.371 MB / 18.57 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.00128/0.00128, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 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 0.984/0.984, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.259/0.259, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.531e-05, allocations: 2.312 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.005914/0.005939, allocations: 1.954 MB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.007384, allocations: 1.052 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.007469, allocations: 3.938 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.007762, allocations: 39.66 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.00807, allocations: 107.3 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.008298, allocations: 95.64 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.008488, allocations: 151.5 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.008585, allocations: 17.8 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/0.008683, allocations: 83.73 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.008767, allocations: 43.83 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.008784, allocations: 4 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.008867, allocations: 47.92 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.008925, allocations: 27.91 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.008977, allocations: 31.86 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.009191, allocations: 131.5 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.009193, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.009194, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.009198, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005033/0.009702, allocations: 0.4935 MB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.009737, allocations: 12.03 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.009792, allocations: 28.8 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.009988, allocations: 173.1 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.01001, allocations: 8.375 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.01003, allocations: 8.375 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.01023, allocations: 139.6 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01024, allocations: 7.938 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.01025, allocations: 4 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.01026, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.01032, allocations: 35.91 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.01081, allocations: 0.5756 MB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.01311, allocations: 79.08 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.01317, allocations: 27.67 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.01318, allocations: 0 / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.01335, allocations: 106.7 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.01335, allocations: 0 / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002839/0.01364, allocations: 113.5 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.01368, allocations: 59.39 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.01389, allocations: 243.1 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.01391, allocations: 25.7 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.01402, allocations: 166.8 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.01406, allocations: 31.73 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.01412, allocations: 35.36 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.0143, allocations: 0.5 MB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.01435, allocations: 15.98 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.01442, allocations: 62.42 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01454, allocations: 82.38 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01454, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000212/0.01475, allocations: 121.4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.01477, allocations: 6.5 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01478, allocations: 0 / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.0148, allocations: 8.125 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.0149, allocations: 19.98 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.01492, allocations: 4 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.01497, allocations: 11.94 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.01499, allocations: 8 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001089/0.0151, allocations: 176.4 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.01513, allocations: 15.91 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.01534, allocations: 107.1 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01534, allocations: 0 / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01535, allocations: 0 / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01535, allocations: 4 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.01551, allocations: 168.5 kB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01551, allocations: 0 / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.01559, allocations: 12 kB / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01559, allocations: 4 kB / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.0156, allocations: 3.984 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01561, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01561, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.01589, allocations: 156.8 kB / 385.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.01591, allocations: 19.83 kB / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.01594, allocations: 12.03 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.01599, allocations: 4 kB / 385.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.01604, allocations: 3.984 kB / 385.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.01606, allocations: 7.938 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.01619, allocations: 175.1 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01619, allocations: 0 / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000274/0.01646, allocations: 24 kB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001298/0.01776, allocations: 394.2 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.01794, allocations: 59.59 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01795, allocations: 0 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.01802, allocations: 39.61 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.01832, allocations: 42.5 kB / 386.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.0188, allocations: 254 kB / 386.7 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.033e-05/0.01885, allocations: 75.77 kB / 386.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.402e-05/0.01892, allocations: 17.48 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.01896, allocations: 20.5 kB / 386.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01896, allocations: 0 / 386.8 MB, free: 9.551 MB / 362.7 MB Notification: Performance of Templates: time 0.005614/0.02458, allocations: 2.211 MB / 389 MB, free: 7.383 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1594360042363405]