Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001174/0.001174, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001542/0.001542, allocations: 166.7 kB / 24.99 MB, free: 8.797 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.9877/0.9877, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.3023/0.3023, allocations: 32.81 MB / 294.6 MB, free: 1.199 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 376 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.318e-05, allocations: 2.312 kB / 376 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002272/0.002295, allocations: 1.704 MB / 377.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000766/0.003061, allocations: 0.5725 MB / 378.3 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.003124, allocations: 4 kB / 378.3 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.003583, allocations: 451 kB / 378.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.00398, allocations: 307.1 kB / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.00433, allocations: 171.5 kB / 379.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.004547, allocations: 179.7 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.004645, allocations: 12 kB / 379.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.004766, allocations: 135.6 kB / 379.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.004967, allocations: 235.7 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.004984, allocations: 7.938 kB / 379.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.005059, allocations: 31.92 kB / 379.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.005143, allocations: 87.7 kB / 379.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.005184, allocations: 39.73 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.005404, allocations: 211.1 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005406, allocations: 0 / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005407, allocations: 3.938 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005412, allocations: 0 / 380.1 MB, free: 0.8086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005781/0.00599, allocations: 0.6932 MB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.006027, allocations: 12.03 kB / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.006091, allocations: 44.66 kB / 380.9 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.006309, allocations: 248.9 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.00632, allocations: 384 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.006341, allocations: 4.375 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.006469, allocations: 70.78 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.00648, allocations: 192 / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.006492, allocations: 8.125 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.0065, allocations: 0 / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.006535, allocations: 8 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.00696, allocations: 439.5 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.499e-05/0.007035, allocations: 46.98 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.007062, allocations: 15.62 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.00708, allocations: 0 / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.007101, allocations: 41.38 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.007101, allocations: 4 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.00045/0.007551, allocations: 212.8 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.007588, allocations: 55.41 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.008014, allocations: 0.6316 MB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.008027, allocations: 25.7 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.008177, allocations: 290.7 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.008212, allocations: 19.84 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.00826, allocations: 23.38 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.008418, allocations: 0.5586 MB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.008444, allocations: 12 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.008465, allocations: 7.984 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.008518, allocations: 39.56 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.008519, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/0.008634, allocations: 113.7 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.008647, allocations: 4 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008651, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.008663, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.008788, allocations: 15.98 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.008794, allocations: 4 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.00883, allocations: 15.98 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.008836, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.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 (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 8.375e-05/0.00892, allocations: 168.5 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.008958, allocations: 47.67 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.009123, allocations: 105.6 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.009125, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.009129, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.009132, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.009496, allocations: 493.2 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009498, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.009544, allocations: 19.98 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009546, allocations: 0 / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.009553, allocations: 0 / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.009555, allocations: 4 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009556, allocations: 0 / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.009705, allocations: 255.5 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.009728, allocations: 31.72 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.009748, allocations: 3.984 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.009797, allocations: 8 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.009834, allocations: 7.984 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.009838, allocations: 4 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.0101, allocations: 438.7 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0101, allocations: 0 / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.01028, allocations: 23.94 kB / 385.3 MB, free: 11.31 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001183/0.01146, allocations: 387.7 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.01165, allocations: 43.61 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01165, allocations: 0 / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.01169, allocations: 27.81 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.01202, allocations: 41 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008849/0.01291, allocations: 0.5941 MB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.93e-05/0.013, allocations: 123.2 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.973e-05/0.01306, allocations: 20.7 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.01309, allocations: 16.5 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.0131, allocations: 0 / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Templates: time 0.004514/0.01761, allocations: 1.517 MB / 388.1 MB, free: 8.637 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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: 3.37919911602512]