Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001381/0.001381, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001743/0.001743, allocations: 165.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.48/1.48, allocations: 177.2 MB / 204.6 MB, free: 5.566 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.343/0.343, allocations: 32.8 MB / 293.9 MB, free: 1.227 MB / 266.7 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.714e-05, allocations: 6.312 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003051/0.003078, allocations: 1.669 MB / 377 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.004941, allocations: 0.954 MB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.00501, allocations: 11.94 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.005341, allocations: 67.7 kB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.00566, allocations: 103.5 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.005843, allocations: 75.62 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.006035, allocations: 111.6 kB / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.006069, allocations: 4.234 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.006183, allocations: 55.77 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.006292, allocations: 47.88 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.006312, allocations: 4 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.367e-05/0.006396, allocations: 39.92 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.006456, allocations: 23.91 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.006503, allocations: 15.94 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.006704, allocations: 99.69 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006706, allocations: 0 / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006707, allocations: 0 / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.006711, allocations: 0 / 378.6 MB, free: 1.617 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005718/0.007283, allocations: 341.5 kB / 378.9 MB, free: 1.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.007317, allocations: 12.02 kB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.007369, allocations: 12.89 kB / 379 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.00766, allocations: 158.2 kB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.007676, allocations: 4.375 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.00769, allocations: 8.375 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.007837, allocations: 46.23 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.007848, allocations: 7.938 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.007857, allocations: 0 / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.007861, allocations: 0 / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.007942, allocations: 15.98 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.008151, allocations: 133.3 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.008336, allocations: 54.61 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.008399, allocations: 16.86 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.008414, allocations: 0 / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.008576, allocations: 75.36 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.008577, allocations: 0 / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003152/0.008892, allocations: 105.5 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.00894, allocations: 51.41 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.009179, allocations: 202.7 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.009205, allocations: 29.7 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.009282, allocations: 108.1 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.009311, allocations: 11.91 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.009353, allocations: 21.7 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004315/0.009784, allocations: 326.8 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.00984, allocations: 12 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.009906, allocations: 29.7 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.01002, allocations: 45.64 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01002, allocations: 0 / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001893/0.01021, allocations: 93.61 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01023, allocations: 9.859 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.01023, allocations: 7.875 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.01025, allocations: 0 / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.01032, allocations: 12 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.01033, allocations: 0 / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.01037, allocations: 3.938 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.01038, allocations: 4.312 kB / 380.5 MB, free: 15.51 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.0001099/0.01049, allocations: 121.8 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.01052, allocations: 19.91 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.01074, allocations: 110.7 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01075, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01075, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.01075, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.01089, allocations: 129.3 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.0109, allocations: 0 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.01092, allocations: 8 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01093, allocations: 3.984 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.01093, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01094, allocations: 3.938 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01094, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.01117, allocations: 125 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.01119, allocations: 11.94 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.01121, allocations: 4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/0.01126, allocations: 11.92 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.0113, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.01131, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.01146, allocations: 148.2 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01146, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.01168, allocations: 23.94 kB / 381.2 MB, free: 14.74 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.00187/0.01355, allocations: 439.9 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.01372, allocations: 43.92 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.01372, allocations: 0 / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.01379, allocations: 19.98 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.01407, allocations: 27.89 kB / 381.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.01452, allocations: 212.6 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.01463, allocations: 97.44 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.461e-05/0.01468, allocations: 12.48 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.01472, allocations: 16.48 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01472, allocations: 0 / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of Templates: time 0.004739/0.01946, allocations: 1.643 MB / 383.7 MB, free: 12.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.7335258880630136]