Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.002073/0.002073, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002715/0.002715, allocations: 165.7 kB / 24.27 MB, free: 172 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.611/1.611, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.3347/0.3347, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.14e-05, allocations: 10.25 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003299/0.003331, allocations: 1.616 MB / 376.9 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.004526, allocations: 0.518 MB / 377.4 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.00459, allocations: 4 kB / 377.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009399/0.00553, allocations: 451 kB / 377.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.006077, allocations: 287.3 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.00643, allocations: 131.6 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.006712, allocations: 175.6 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.145e-05/0.006794, allocations: 8 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.007003, allocations: 123.8 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.007311, allocations: 235.6 kB / 378.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.007334, allocations: 4 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.007418, allocations: 23.94 kB / 378.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.007542, allocations: 87.69 kB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.007599, allocations: 35.75 kB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.007951, allocations: 243 kB / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.007953, allocations: 0 / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007954, allocations: 0 / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.007959, allocations: 0 / 379.2 MB, free: 1.059 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.0008216/0.008781, allocations: 0.5738 MB / 379.8 MB, free: 464 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.008818, allocations: 8.031 kB / 379.8 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.872e-05/0.008907, allocations: 44.66 kB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.009223, allocations: 242 kB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.009234, allocations: 384 / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.009246, allocations: 4.375 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.009416, allocations: 62.17 kB / 380.1 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.009424, allocations: 192 / 380.1 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.009435, allocations: 4.125 kB / 380.1 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.009439, allocations: 0 / 380.1 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.009571, allocations: 31.97 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.01006, allocations: 320.5 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.0102, allocations: 38.5 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/0.01028, allocations: 24.94 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.01031, allocations: 11.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.01034, allocations: 30.56 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.01034, allocations: 0 / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003875/0.01073, allocations: 117.4 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.01078, allocations: 51.41 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.01182, allocations: 0.8691 MB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.01184, allocations: 25.7 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.01204, allocations: 216 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.01206, allocations: 11.94 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.0121, allocations: 17.72 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.01232, allocations: 354.8 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.01239, allocations: 19.98 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.01245, allocations: 11.98 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.01258, allocations: 44.77 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01258, allocations: 0 / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00023/0.01281, allocations: 113.3 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01283, allocations: 5.875 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01283, allocations: 0 / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.01285, allocations: 7.938 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.01293, allocations: 4 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.01294, allocations: 3.984 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.013, allocations: 4 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.01301, allocations: 4 kB / 382.4 MB, free: 13.64 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 0.0002224/0.01323, allocations: 213.8 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.0133, allocations: 47.66 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.01359, allocations: 121 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01359, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.0136, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.0136, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.0139, allocations: 237.2 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0139, allocations: 0 / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.01396, allocations: 15.92 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.01397, allocations: 7.938 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.01397, allocations: 4 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01398, allocations: 0 / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01398, allocations: 0 / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.01426, allocations: 199.2 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.01431, allocations: 35.72 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.01434, allocations: 8.359 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.01443, allocations: 3.984 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.01446, allocations: 4 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.01446, allocations: 0 / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007509/0.01521, allocations: 0.655 MB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01521, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.01549, allocations: 20 kB / 384 MB, free: 12.03 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.001675/0.01717, allocations: 380.6 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.01735, allocations: 35.95 kB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01735, allocations: 0 / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.01743, allocations: 19.98 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.01784, allocations: 21.95 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.01932, allocations: 0.8017 MB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.01959, allocations: 220.1 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.781e-05/0.01963, allocations: 11.98 kB / 385.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.01967, allocations: 16.44 kB / 385.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01967, allocations: 0 / 385.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of Templates: time 0.004821/0.02449, allocations: 1.155 MB / 386.6 MB, free: 9.488 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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: 4.880127619020641]