Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.001361/0.001361, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001006/0.001006, allocations: 168.7 kB / 24.91 MB, free: 8.77 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.9375/0.9375, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2679/0.2679, allocations: 32.8 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.654e-05/3.898e-05, allocations: 7.016 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002793/0.002832, allocations: 1.643 MB / 324.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000978/0.00381, allocations: 0.5297 MB / 325.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.003894, allocations: 0 / 325.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.004236, allocations: 91.56 kB / 325.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.004616, allocations: 99.53 kB / 325.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.004957, allocations: 99.62 kB / 325.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.005171, allocations: 83.75 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.00528, allocations: 11.98 kB / 325.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.005364, allocations: 43.89 kB / 325.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.005472, allocations: 47.88 kB / 325.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.005487, allocations: 4 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.922e-05/0.005587, allocations: 47.92 kB / 325.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.005634, allocations: 19.92 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.005664, allocations: 23.84 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.005836, allocations: 87.67 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.00584, allocations: 4 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005841, allocations: 0 / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.005846, allocations: 0 / 326.1 MB, free: 6.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004193/0.006266, allocations: 313.5 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.006309, allocations: 12.03 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.006349, allocations: 8.938 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.006536, allocations: 147.4 kB / 326.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.006547, allocations: 4.312 kB / 326.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.006574, allocations: 4.375 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.006705, allocations: 70.86 kB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.006717, allocations: 4.172 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.006726, allocations: 4.125 kB / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.006734, allocations: 4 kB / 326.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.006756, allocations: 4 kB / 326.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.007049, allocations: 171.7 kB / 326.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.007114, allocations: 34.56 kB / 326.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.007132, allocations: 8.859 kB / 326.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.007157, allocations: 0 / 326.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.007183, allocations: 38.5 kB / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.007185, allocations: 4 kB / 326.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004798/0.007665, allocations: 137.7 kB / 327 MB, free: 5.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.007702, allocations: 55.41 kB / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.007837, allocations: 188.8 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.007849, allocations: 25.7 kB / 327.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.007888, allocations: 100.8 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.007917, allocations: 27.8 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.007945, allocations: 13.72 kB / 327.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.008046, allocations: 334.8 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.008063, allocations: 8 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.008076, allocations: 11.94 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.008118, allocations: 24.84 kB / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.00812, allocations: 0 / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.606e-05/0.008196, allocations: 57.61 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.008211, allocations: 8 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.008216, allocations: 0 / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.00823, allocations: 0 / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.008306, allocations: 15.98 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.008311, allocations: 3.938 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.008332, allocations: 11.94 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.008338, allocations: 3.938 kB / 327.9 MB, free: 4.836 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 (8): * Single equations (assignments): 8 * 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.166e-05/0.008409, allocations: 116.7 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.008431, allocations: 15.92 kB / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.008556, allocations: 71.44 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.00856, allocations: 3.984 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.008562, allocations: 0 / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.008565, allocations: 4 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.008832, allocations: 247.5 kB / 328.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.008834, allocations: 8.031 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.008883, allocations: 19.92 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.008887, allocations: 0 / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.008891, allocations: 0 / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.008895, allocations: 4 kB / 328.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008896, allocations: 0 / 328.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.009002, allocations: 160.3 kB / 328.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.009014, allocations: 11.91 kB / 328.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.009025, allocations: 0 / 328.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.00906, allocations: 11.94 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.00909, allocations: 11.98 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.009094, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.009145, allocations: 59.62 kB / 328.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009145, allocations: 0 / 328.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.009294, allocations: 20 kB / 328.6 MB, free: 4.016 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 (8): * Single equations (assignments): 8 * 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.001364/0.01066, allocations: 0.5681 MB / 329.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.01077, allocations: 44.7 kB / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.01077, allocations: 0 / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.0108, allocations: 20.84 kB / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.011, allocations: 16.3 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.01143, allocations: 231.5 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.01147, allocations: 71.41 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.451e-05/0.01151, allocations: 8.719 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.01157, allocations: 67.36 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01157, allocations: 0 / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of Templates: time 0.003796/0.01536, allocations: 1.489 MB / 331.2 MB, free: 1.773 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.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.8965158527716994]