Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001083/0.001083, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001038/0.001038, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.9732/0.9732, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2539/0.2539, allocations: 32.81 MB / 294.6 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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.413e-05, allocations: 2.312 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002152/0.002176, allocations: 1.679 MB / 324.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000702/0.002878, allocations: 0.5413 MB / 325.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.00294, allocations: 8 kB / 325.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.003195, allocations: 35.72 kB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.003433, allocations: 83.55 kB / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.003627, allocations: 95.67 kB / 325.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.003763, allocations: 91.75 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.003846, allocations: 16.61 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.003909, allocations: 47.83 kB / 325.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.003986, allocations: 27.91 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.004001, allocations: 4 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.004074, allocations: 55.91 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.004118, allocations: 15.94 kB / 325.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.004144, allocations: 19.91 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.004294, allocations: 95.59 kB / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.004297, allocations: 0 / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004298, allocations: 0 / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.004303, allocations: 4 kB / 326.1 MB, free: 6.852 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003869/0.00469, allocations: 305.5 kB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.004731, allocations: 8.031 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.004765, allocations: 16.92 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.004926, allocations: 145.5 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.004935, allocations: 4.375 kB / 326.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.004963, allocations: 8.375 kB / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.005078, allocations: 70.64 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.005089, allocations: 192 / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.0051, allocations: 8.125 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005105, allocations: 0 / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.005137, allocations: 15.98 kB / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.005398, allocations: 202.9 kB / 326.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.613e-05/0.005455, allocations: 34.56 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.005471, allocations: 20.84 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.005487, allocations: 3.938 kB / 326.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.005506, allocations: 34.56 kB / 326.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.005506, allocations: 4 kB / 326.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004382/0.005945, allocations: 195.4 kB / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.005974, allocations: 55.41 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.006063, allocations: 155.2 kB / 327.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.006073, allocations: 29.7 kB / 327.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.006102, allocations: 96.11 kB / 327.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.006131, allocations: 43.59 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.00616, allocations: 25.7 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.006233, allocations: 326.8 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.00625, allocations: 11.98 kB / 327.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/0.006267, allocations: 15.94 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.32e-05/0.00631, allocations: 47.31 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006311, allocations: 0 / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.36e-05/0.006384, allocations: 73.66 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006395, allocations: 4 kB / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.006399, allocations: 4 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.006409, allocations: 7.984 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.006482, allocations: 23.92 kB / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.006485, allocations: 0 / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.658e-05/0.006501, allocations: 4 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.006509, allocations: 7.938 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.26e-05/0.006561, allocations: 116.8 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.006581, allocations: 15.92 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.006698, allocations: 103 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.0067, allocations: 0 / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.006701, allocations: 4 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006705, allocations: 7.984 kB / 328.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.006944, allocations: 279.5 kB / 328.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.006945, allocations: 0 / 328.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.00699, allocations: 23.98 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006991, allocations: 0 / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.006997, allocations: 4 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.006999, allocations: 3.938 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007001, allocations: 3.984 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.007095, allocations: 181.1 kB / 328.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.007102, allocations: 7.953 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.007113, allocations: 3.984 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.007146, allocations: 11.94 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.007171, allocations: 7.984 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.007175, allocations: 0 / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.507e-05/0.00721, allocations: 39.66 kB / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00721, allocations: 0 / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001344/0.007345, allocations: 23.98 kB / 328.8 MB, free: 3.848 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001343/0.008687, allocations: 0.5764 MB / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.008774, allocations: 48.83 kB / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.008778, allocations: 4 kB / 329.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.777e-05/0.008806, allocations: 28.78 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.008965, allocations: 31.98 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.009276, allocations: 224.1 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.038e-05/0.009316, allocations: 71.33 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.766e-05/0.009354, allocations: 16.48 kB / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.009412, allocations: 67.36 kB / 329.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009412, allocations: 4 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of Templates: time 0.003271/0.01268, allocations: 1.666 MB / 331.6 MB, free: 1.387 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.968189185950905]