Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0008957/0.0008957, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009933/0.0009933, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 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.9045/0.9045, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1541/0.1541, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.289e-05, allocations: 4.844 kB / 325.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00201/0.002023, allocations: 1.926 MB / 327.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.003304, allocations: 1.118 MB / 328.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.003377, allocations: 3.938 kB / 328.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.003731, allocations: 255.2 kB / 328.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.004062, allocations: 239 kB / 328.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.004253, allocations: 127.5 kB / 329 MB, free: 13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.004485, allocations: 271.2 kB / 329.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.004559, allocations: 22.61 kB / 329.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.004697, allocations: 151.6 kB / 329.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.004838, allocations: 171.6 kB / 329.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.004856, allocations: 12 kB / 329.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.004942, allocations: 71.78 kB / 329.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.005001, allocations: 63.77 kB / 329.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.005045, allocations: 59.72 kB / 329.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.00523, allocations: 195.2 kB / 330 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005231, allocations: 0 / 330 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.005232, allocations: 3.938 kB / 330 MB, free: 12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.005235, allocations: 4 kB / 330 MB, free: 12 MB / 314.7 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.0004099/0.005645, allocations: 494.7 kB / 330.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.005679, allocations: 16.03 kB / 330.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.005715, allocations: 24.91 kB / 330.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.005892, allocations: 224.1 kB / 330.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.005906, allocations: 4.375 kB / 330.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.005929, allocations: 8.375 kB / 330.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.006052, allocations: 111.1 kB / 330.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.006062, allocations: 3.938 kB / 330.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.00607, allocations: 4 kB / 330.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.006076, allocations: 4 kB / 330.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.006115, allocations: 37.56 kB / 330.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.006367, allocations: 308.8 kB / 331.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.006542, allocations: 182.6 kB / 331.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.006572, allocations: 29.89 kB / 331.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.006583, allocations: 8 kB / 331.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.006685, allocations: 103.9 kB / 331.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.006686, allocations: 0 / 331.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005761/0.007262, allocations: 315.4 kB / 331.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.007298, allocations: 81.11 kB / 331.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.007497, allocations: 357 kB / 332.3 MB, free: 9.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.007512, allocations: 29.7 kB / 332.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.007556, allocations: 129.5 kB / 332.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.007608, allocations: 75.36 kB / 332.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.007685, allocations: 41.69 kB / 332.5 MB, free: 9.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.007817, allocations: 350.7 kB / 332.9 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.007855, allocations: 30.81 kB / 332.9 MB, free: 8.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.007911, allocations: 56 kB / 333 MB, free: 8.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.48e-05/0.007996, allocations: 113 kB / 333.1 MB, free: 8.699 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.007997, allocations: 0 / 333.1 MB, free: 8.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001187/0.008116, allocations: 135.2 kB / 333.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.008125, allocations: 8 kB / 333.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.008129, allocations: 0 / 333.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.00814, allocations: 8.062 kB / 333.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.008218, allocations: 39.92 kB / 333.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.008222, allocations: 4 kB / 333.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.008263, allocations: 15.92 kB / 333.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.008271, allocations: 4 kB / 333.3 MB, free: 8.48 MB / 314.7 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 7.287e-05/0.008344, allocations: 124.6 kB / 333.4 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.00837, allocations: 35.95 kB / 333.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.00858, allocations: 153.2 kB / 333.6 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.008584, allocations: 4 kB / 333.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.008586, allocations: 3.938 kB / 333.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.008591, allocations: 4 kB / 333.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.009125, allocations: 0.5672 MB / 334.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.009129, allocations: 4 kB / 334.2 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.009213, allocations: 27.92 kB / 334.2 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.009218, allocations: 7.938 kB / 334.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.009233, allocations: 11.98 kB / 334.2 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.009239, allocations: 7.984 kB / 334.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.009241, allocations: 128 / 334.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.009521, allocations: 423.5 kB / 334.6 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.009562, allocations: 39.69 kB / 334.7 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.009599, allocations: 8 kB / 334.7 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.009725, allocations: 8 kB / 334.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.009768, allocations: 19.97 kB / 334.7 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.009787, allocations: 11.98 kB / 334.7 MB, free: 6.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.009937, allocations: 163.5 kB / 334.9 MB, free: 6.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009938, allocations: 0 / 334.9 MB, free: 6.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.01027, allocations: 51.92 kB / 334.9 MB, free: 6.734 MB / 314.7 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.001464/0.01173, allocations: 0.6484 MB / 335.6 MB, free: 6.395 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.01187, allocations: 102.9 kB / 335.7 MB, free: 6.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.01188, allocations: 7.938 kB / 335.7 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.01193, allocations: 60.7 kB / 335.8 MB, free: 6.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.01221, allocations: 63.83 kB / 335.8 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.01272, allocations: 0.5071 MB / 336.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.989e-05/0.01278, allocations: 108.3 kB / 336.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.768e-05/0.01285, allocations: 41.91 kB / 336.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.01294, allocations: 87.36 kB / 336.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01294, allocations: 0 / 336.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of Templates: time 0.005162/0.0181, allocations: 3.664 MB / 340.2 MB, free: 1.762 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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: 2.9714107559993863]