Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001716/0.001716, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.004905/0.004905, allocations: 163.6 kB / 24.99 MB, free: 8.746 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 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2801/0.2801, allocations: 32.81 MB / 294.6 MB, free: 1.293 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.448e-05, allocations: 2.312 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.008417/0.008432, allocations: 1.65 MB / 377.7 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.00943, allocations: 0.5607 MB / 378.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.009499, allocations: 0 / 378.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.01008, allocations: 459.1 kB / 378.7 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.01052, allocations: 303.1 kB / 379 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.01086, allocations: 163.5 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.01108, allocations: 175.7 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.01117, allocations: 8 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.0113, allocations: 127.7 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.01153, allocations: 239.6 kB / 379.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.01155, allocations: 4 kB / 379.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-05/0.01161, allocations: 19.94 kB / 379.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.0117, allocations: 95.62 kB / 379.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.01175, allocations: 35.75 kB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.01198, allocations: 195.2 kB / 380 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01198, allocations: 0 / 380 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01198, allocations: 0 / 380 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.01198, allocations: 4 kB / 380 MB, free: 0.9766 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006007/0.01258, allocations: 0.6932 MB / 380.7 MB, free: 252 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.01262, allocations: 8.031 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.01268, allocations: 44.66 kB / 380.8 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.01291, allocations: 245.1 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.01292, allocations: 384 / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.01293, allocations: 4.375 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.01304, allocations: 62.89 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.01305, allocations: 4.125 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.01306, allocations: 4.125 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.01306, allocations: 4 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.054e-05/0.01309, allocations: 7.984 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.01356, allocations: 427.6 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.066e-05/0.01363, allocations: 39.06 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.01366, allocations: 15.62 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.01367, allocations: 3.938 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.0137, allocations: 45.47 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.0137, allocations: 0 / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001802/0.01388, allocations: 85.41 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.01391, allocations: 51.41 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.01445, allocations: 0.6316 MB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.01446, allocations: 25.7 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.01465, allocations: 286.8 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.01467, allocations: 11.91 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.0147, allocations: 19.38 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.01489, allocations: 0.5586 MB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.01491, allocations: 0 / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.01492, allocations: 8 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.577e-05/0.01496, allocations: 19.97 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01496, allocations: 0 / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.712e-05/0.01506, allocations: 89.33 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01507, allocations: 5.875 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01508, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.01509, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.01516, allocations: 19.92 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01516, allocations: 0 / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.0152, allocations: 8 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.0152, allocations: 4 kB / 383.4 MB, free: 13.36 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 (3): * Single equations (assignments): 3 * 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.065e-05/0.01529, allocations: 152.6 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.01534, allocations: 51.64 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.01546, allocations: 81.14 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01546, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01546, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01547, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.0157, allocations: 284.5 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.0157, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.01572, allocations: 7.984 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01573, allocations: 7.938 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.01573, allocations: 4 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01574, allocations: 3.938 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01574, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.01585, allocations: 227.7 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.01587, allocations: 39.72 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.01589, allocations: 3.938 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.615e-05/0.01592, allocations: 4 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.01594, allocations: 3.984 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.01594, allocations: 0 / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002483/0.01619, allocations: 430.8 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01619, allocations: 4 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.01635, allocations: 27.89 kB / 384.7 MB, free: 11.98 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 (3): * Single equations (assignments): 3 * 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.0007094/0.01706, allocations: 327.9 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.413e-05/0.01714, allocations: 23.62 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01715, allocations: 0 / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.01716, allocations: 19.67 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01741, allocations: 30.3 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.01801, allocations: 0.5704 MB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.01809, allocations: 115.3 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.01813, allocations: 15.97 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.01815, allocations: 16.48 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01815, allocations: 0 / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of Templates: time 0.00339/0.02154, allocations: 1.209 MB / 387 MB, free: 9.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.3115262028295547]