Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.002605/0.002605, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002968/0.002968, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.609/1.609, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.4056/0.4056, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.934e-05, allocations: 2.312 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003343/0.003373, allocations: 1.673 MB / 377 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.005526, allocations: 1.293 MB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.005585, allocations: 4 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.005828, allocations: 27.72 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.006164, allocations: 79.56 kB / 378.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.006608, allocations: 183.4 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.006785, allocations: 83.7 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.006891, allocations: 15.98 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.006981, allocations: 35.91 kB / 378.7 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.007118, allocations: 35.89 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.007142, allocations: 4 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.007328, allocations: 95.88 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.007402, allocations: 19.92 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.007443, allocations: 15.94 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.007759, allocations: 159.4 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.007763, allocations: 0 / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.007764, allocations: 0 / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.007768, allocations: 0 / 379 MB, free: 1.25 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.0007216/0.00849, allocations: 439.6 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.008533, allocations: 8.031 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.0086, allocations: 12.83 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.008881, allocations: 156.3 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.008896, allocations: 4.375 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.008924, allocations: 384 / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.009151, allocations: 103.3 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.009164, allocations: 192 / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.009183, allocations: 8.125 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.009188, allocations: 0 / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.009306, allocations: 23.92 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.009809, allocations: 299.8 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.009933, allocations: 43.06 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.01, allocations: 27.7 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.01003, allocations: 4 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.01008, allocations: 37.33 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.01008, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007446/0.01083, allocations: 181.4 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.0109, allocations: 85.09 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.01111, allocations: 211.9 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.01114, allocations: 25.7 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01125, allocations: 142.9 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.01129, allocations: 27.75 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.01134, allocations: 31.36 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002702/0.01161, allocations: 0.4962 MB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.01171, allocations: 19.98 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.01184, allocations: 73.05 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.01202, allocations: 63.62 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.01202, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002719/0.01229, allocations: 101.8 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01231, allocations: 4 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01231, allocations: 0 / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.01232, allocations: 0 / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.01245, allocations: 19.98 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01245, allocations: 0 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.01251, allocations: 15.98 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.01252, allocations: 0 / 381.6 MB, free: 14.39 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 0.0001452/0.01266, allocations: 164.5 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.01271, allocations: 11.95 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/0.01328, allocations: 110.3 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01328, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01328, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01328, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.01387, allocations: 377.4 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01387, allocations: 0 / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/0.01395, allocations: 19.92 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.01396, allocations: 4 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.01397, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01397, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01397, allocations: 3.984 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.01433, allocations: 244.1 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.01436, allocations: 15.94 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.01438, allocations: 3.984 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.01446, allocations: 4 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.01451, allocations: 11.98 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.01451, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.01465, allocations: 163.1 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01465, allocations: 3.938 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.01495, allocations: 39.88 kB / 382.8 MB, free: 13.16 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.003344/0.01829, allocations: 0.5289 MB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.01857, allocations: 71.64 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01858, allocations: 3.938 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.01869, allocations: 43.61 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.01902, allocations: 19.94 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.01959, allocations: 210.3 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.0197, allocations: 83.31 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.0198, allocations: 29.02 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.01987, allocations: 24.48 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01987, allocations: 0 / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Templates: time 0.006998/0.02687, allocations: 1.996 MB / 385.8 MB, free: 10.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.212234398932196]