Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001785/0.001785, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002156/0.002156, allocations: 165.7 kB / 24.27 MB, free: 144 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.521/1.521, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3686/0.3686, allocations: 32.81 MB / 293.9 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 179] 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.9e-05/5.147e-05, allocations: 6.25 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003687/0.003738, allocations: 1.712 MB / 377.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.005847, allocations: 0.9703 MB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.005939, allocations: 3.938 kB / 378 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.006355, allocations: 47.69 kB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.006819, allocations: 91.55 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.00711, allocations: 79.66 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.007388, allocations: 111.6 kB / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.007532, allocations: 4 kB / 378.4 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.007679, allocations: 59.81 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.007765, allocations: 27.86 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.007787, allocations: 4 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.007905, allocations: 47.91 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.007971, allocations: 19.92 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.008029, allocations: 15.94 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.008279, allocations: 115.6 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.008283, allocations: 0 / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.008284, allocations: 4 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.00829, allocations: 3.938 kB / 378.6 MB, free: 1.578 MB / 346.7 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.00068/0.00897, allocations: 341.6 kB / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.009016, allocations: 12.03 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.00908, allocations: 12.83 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.009404, allocations: 149.6 kB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.009421, allocations: 4.375 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.009446, allocations: 384 / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.009623, allocations: 58.23 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.009636, allocations: 7.938 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.009647, allocations: 0 / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.009651, allocations: 0 / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.574e-05/0.009737, allocations: 23.98 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.01014, allocations: 228.5 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.01033, allocations: 54.67 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.294e-05/0.01041, allocations: 24.78 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.01042, allocations: 4 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.0106, allocations: 71.33 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.0106, allocations: 4 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006458/0.01125, allocations: 185.3 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.01131, allocations: 51.41 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.01154, allocations: 191.2 kB / 380 MB, free: 36 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.01156, allocations: 29.7 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01167, allocations: 108 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.01171, allocations: 19.86 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.01176, allocations: 25.7 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.01195, allocations: 326.8 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.01201, allocations: 23.98 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.01209, allocations: 37.7 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.01223, allocations: 65.59 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01223, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002304/0.01246, allocations: 105.6 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.01248, allocations: 8 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01249, allocations: 0 / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.0125, allocations: 0 / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.0126, allocations: 20.3 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.01261, allocations: 8.031 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.01266, allocations: 7.953 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.01267, allocations: 8 kB / 380.8 MB, free: 15.21 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 (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.0001485/0.01282, allocations: 137.1 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.01285, allocations: 11.95 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.01314, allocations: 123.2 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01315, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01315, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01315, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.0137, allocations: 358.9 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0137, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.01375, allocations: 12 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01375, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01376, allocations: 4 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.01377, allocations: 7.922 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01377, allocations: 0 / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.01408, allocations: 212.2 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.01411, allocations: 11.91 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.01413, allocations: 8 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.01422, allocations: 8.016 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.01427, allocations: 7.984 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.01429, allocations: 7.984 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.01445, allocations: 143.9 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01445, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.01472, allocations: 27.98 kB / 381.9 MB, free: 14.09 MB / 362.7 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.002306/0.01703, allocations: 491 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.01726, allocations: 63.91 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01726, allocations: 0 / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/0.01735, allocations: 31.92 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.01772, allocations: 27.92 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.01827, allocations: 233.6 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.01839, allocations: 88.3 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.01845, allocations: 25.27 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.0185, allocations: 20.5 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0185, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Templates: time 0.005542/0.02404, allocations: 1.865 MB / 384.7 MB, free: 11.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.853469496942125]