Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001466/0.001466, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001551/0.001551, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.524/1.524, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.339/0.339, allocations: 34.26 MB / 295.3 MB, free: 0.6641 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.53e-05/3.681e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003729/0.003766, allocations: 1.677 MB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.00562, allocations: 0.9586 MB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.005689, allocations: 0 / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.006026, allocations: 71.66 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.006388, allocations: 115.5 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.006601, allocations: 67.67 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.006823, allocations: 111.6 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.006868, allocations: 8.219 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.007001, allocations: 55.84 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.007122, allocations: 43.88 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.007143, allocations: 4 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.007231, allocations: 31.92 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.007314, allocations: 27.86 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.00737, allocations: 19.92 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.007602, allocations: 103.6 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.007606, allocations: 0 / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.007608, allocations: 0 / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.007614, allocations: 0 / 380.6 MB, free: 15.58 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007154/0.008329, allocations: 341.6 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.008364, allocations: 8.031 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.008421, allocations: 8.891 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.008719, allocations: 158.2 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.008733, allocations: 384 / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.008743, allocations: 4.375 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.008903, allocations: 54.17 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.008913, allocations: 3.938 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.008926, allocations: 4 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.00893, allocations: 0 / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.009011, allocations: 19.98 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.009215, allocations: 125.3 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.009401, allocations: 50.61 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.009463, allocations: 16.86 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.00948, allocations: 7.938 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.009656, allocations: 71.38 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.009657, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003354/0.009992, allocations: 105.5 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.01004, allocations: 55.41 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.0103, allocations: 202.6 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.01032, allocations: 29.7 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.0104, allocations: 100.1 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.01044, allocations: 19.89 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.01049, allocations: 25.7 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.01067, allocations: 322.8 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.574e-05/0.01073, allocations: 12 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.0108, allocations: 33.7 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.01092, allocations: 45.95 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01092, allocations: 0 / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001982/0.01112, allocations: 89.56 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.01114, allocations: 4 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.01115, allocations: 3.938 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.01117, allocations: 8.031 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.01125, allocations: 8 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01125, allocations: 0 / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.0113, allocations: 7.938 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01131, allocations: 11.92 kB / 382.6 MB, free: 13.47 MB / 362.7 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 (7): * Single equations (assignments): 7 * 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.0001165/0.01143, allocations: 125.2 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.01146, allocations: 11.91 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.0117, allocations: 106.9 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.0117, allocations: 0 / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.01171, allocations: 7.984 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01171, allocations: 4 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01186, allocations: 125.3 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.01186, allocations: 0 / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.01189, allocations: 7.984 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01189, allocations: 0 / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.0119, allocations: 11.88 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.01191, allocations: 3.938 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01191, allocations: 4 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.01214, allocations: 113 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.01216, allocations: 7.953 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.01218, allocations: 8 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.435e-05/0.01223, allocations: 8.109 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.01227, allocations: 8 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.01229, allocations: 4 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.01244, allocations: 152.2 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01244, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.01267, allocations: 19.92 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001964/0.01463, allocations: 430.9 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.0148, allocations: 39.98 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.0148, allocations: 4 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.01488, allocations: 23.92 kB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.01517, allocations: 27.47 kB / 383.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.01566, allocations: 212.6 kB / 384 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.01577, allocations: 97.38 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.795e-05/0.01582, allocations: 12.56 kB / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.01587, allocations: 20.48 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01587, allocations: 0 / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of Templates: time 0.005164/0.02103, allocations: 1.634 MB / 385.8 MB, free: 10.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.825412890058942]