Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001624/0.001624, allocations: 84.55 kB / 20.68 MB, free: 1.012 MB / 14.72 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.001622/0.001622, allocations: 167.6 kB / 23.96 MB, free: 4.125 MB / 14.72 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.425/1.425, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1991/0.1991, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.109e-05, allocations: 6.281 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.00286/0.002891, allocations: 1.587 MB / 441.7 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.004042, allocations: 0.5337 MB / 442.2 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.004122, allocations: 0 / 442.2 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.004406, allocations: 27.84 kB / 442.3 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.004727, allocations: 79.56 kB / 442.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.005084, allocations: 115.6 kB / 442.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.005284, allocations: 71.77 kB / 442.5 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.005408, allocations: 4 kB / 442.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.005488, allocations: 31.91 kB / 442.6 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.005553, allocations: 15.92 kB / 442.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.005575, allocations: 4 kB / 442.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.005677, allocations: 35.86 kB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.005736, allocations: 19.86 kB / 442.6 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.005772, allocations: 15.98 kB / 442.6 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.005977, allocations: 87.66 kB / 442.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005979, allocations: 0 / 442.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005981, allocations: 0 / 442.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.005985, allocations: 0 / 442.7 MB, free: 5.504 MB / 366.1 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.0005692/0.006554, allocations: 313.8 kB / 443 MB, free: 5.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.006597, allocations: 12.03 kB / 443 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.006637, allocations: 8.891 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.006839, allocations: 129.7 kB / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.006849, allocations: 4.375 kB / 443.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.006874, allocations: 384 / 443.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.007043, allocations: 58.17 kB / 443.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.007057, allocations: 192 / 443.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.007072, allocations: 8.125 kB / 443.2 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.007076, allocations: 0 / 443.2 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.007179, allocations: 23.98 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.007595, allocations: 216.6 kB / 443.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.00782, allocations: 50.5 kB / 443.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.007875, allocations: 16.94 kB / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.007898, allocations: 7.938 kB / 443.6 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.007925, allocations: 30.56 kB / 443.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.007926, allocations: 0 / 443.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000649/0.008575, allocations: 165.3 kB / 443.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.008618, allocations: 51.41 kB / 443.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.008802, allocations: 164.8 kB / 444 MB, free: 4.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.008823, allocations: 25.7 kB / 444 MB, free: 4.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.008904, allocations: 96.08 kB / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.008933, allocations: 27.83 kB / 444.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.008974, allocations: 13.72 kB / 444.1 MB, free: 3.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.009162, allocations: 326.8 kB / 444.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.009242, allocations: 19.98 kB / 444.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.009309, allocations: 19.98 kB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.009479, allocations: 56.77 kB / 444.5 MB, free: 3.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.00948, allocations: 0 / 444.5 MB, free: 3.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002202/0.0097, allocations: 93.56 kB / 444.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.00972, allocations: 10.66 kB / 444.6 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.009727, allocations: 256 / 444.6 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.009749, allocations: 0 / 444.6 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.00982, allocations: 15.98 kB / 444.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.009827, allocations: 0 / 444.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.00987, allocations: 4 kB / 444.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.009887, allocations: 11.92 kB / 444.7 MB, free: 3.395 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.0001194/0.01001, allocations: 118.4 kB / 444.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.01004, allocations: 15.95 kB / 444.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.01033, allocations: 106 kB / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01033, allocations: 0 / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.01034, allocations: 0 / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01034, allocations: 0 / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.01081, allocations: 302.1 kB / 445.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01082, allocations: 3.938 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.01087, allocations: 8 kB / 445.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01087, allocations: 4 kB / 445.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01089, allocations: 4 kB / 445.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.01089, allocations: 3.984 kB / 445.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01089, allocations: 0 / 445.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.01118, allocations: 183.4 kB / 445.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.0112, allocations: 11.94 kB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01122, allocations: 0 / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.01129, allocations: 4 kB / 445.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.01133, allocations: 3.984 kB / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.01134, allocations: 4.188 kB / 445.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.01147, allocations: 138.1 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01147, allocations: 0 / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.01172, allocations: 15.94 kB / 445.6 MB, free: 2.418 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.001681/0.0134, allocations: 432.1 kB / 446 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.01362, allocations: 51.95 kB / 446 MB, free: 2.121 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01362, allocations: 0 / 446 MB, free: 2.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.01371, allocations: 31.92 kB / 446.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01399, allocations: 15.98 kB / 446.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.01444, allocations: 189.4 kB / 446.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.937e-05/0.01453, allocations: 87.31 kB / 446.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.01458, allocations: 11.98 kB / 446.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.01461, allocations: 16.5 kB / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.01461, allocations: 0 / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of Templates: time 0.004075/0.01868, allocations: 1.166 MB / 447.6 MB, free: 0.5703 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.487750485539436]