Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.0008385/0.0008385, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001051/0.001051, allocations: 165 kB / 24.56 MB, free: 16 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 0.9179/0.9179, allocations: 177.1 MB / 205 MB, free: 5.301 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.2891/0.2891, allocations: 32.81 MB / 294.3 MB, free: 1.242 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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.057e-05, allocations: 2.312 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.00312/0.00315, allocations: 1.646 MB / 377.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.004875, allocations: 1.274 MB / 379 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.004946, allocations: 0 / 379 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.005203, allocations: 23.84 kB / 379 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.005579, allocations: 91.48 kB / 379.1 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.00587, allocations: 95.64 kB / 379.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.006038, allocations: 75.75 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.006144, allocations: 4 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.00622, allocations: 35.91 kB / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.00636, allocations: 23.91 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.006381, allocations: 4 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.006563, allocations: 91.81 kB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.006615, allocations: 15.92 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.006646, allocations: 11.94 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.006903, allocations: 127.6 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.006906, allocations: 4 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006908, allocations: 4 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006912, allocations: 0 / 379.5 MB, free: 1.141 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.0007621/0.007674, allocations: 439.8 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.007715, allocations: 8.031 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.007772, allocations: 8.891 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.007948, allocations: 131.7 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.007958, allocations: 384 / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.007981, allocations: 8.375 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.008142, allocations: 100 kB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.008153, allocations: 192 / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.008165, allocations: 8.125 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.008176, allocations: 4 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.288e-05/0.008208, allocations: 7.938 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.008543, allocations: 279.8 kB / 380.5 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.00875, allocations: 43.12 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.008779, allocations: 15.78 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.008802, allocations: 11.86 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.008831, allocations: 37.39 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.008832, allocations: 0 / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004269/0.009259, allocations: 105.4 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.009305, allocations: 77.11 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.009463, allocations: 197 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.009479, allocations: 29.7 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.009538, allocations: 134.9 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.009567, allocations: 23.8 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.009605, allocations: 27.36 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.009739, allocations: 496.1 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.009765, allocations: 11.98 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/0.009807, allocations: 45.08 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.009859, allocations: 27.91 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.00986, allocations: 4 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001047/0.009965, allocations: 65.56 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.009981, allocations: 4 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.009986, allocations: 0 / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.01, allocations: 0 / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.01007, allocations: 19.92 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.01007, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.0101, allocations: 3.953 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.01011, allocations: 4 kB / 381.9 MB, free: 14.57 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 (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 8.484e-05/0.0102, allocations: 164.6 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.01024, allocations: 12.17 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.01038, allocations: 66.09 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01039, allocations: 3.984 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01039, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01039, allocations: 0 / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.01072, allocations: 321.4 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01073, allocations: 3.984 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.01078, allocations: 11.94 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01078, allocations: 0 / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01079, allocations: 4 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.0108, allocations: 4 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.0108, allocations: 4.188 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.01095, allocations: 207.8 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.01097, allocations: 15.94 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.01099, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.924e-05/0.01105, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.01108, allocations: 4 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.01109, allocations: 3.984 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.75e-05/0.01117, allocations: 151.2 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01117, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.01147, allocations: 43.86 kB / 382.9 MB, free: 13.49 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 (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.001223/0.01269, allocations: 483.1 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.01281, allocations: 31.67 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01281, allocations: 0 / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.01284, allocations: 31.67 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01312, allocations: 19.92 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.0135, allocations: 165.9 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.842e-05/0.01355, allocations: 59.34 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.979e-05/0.0136, allocations: 11.98 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.01364, allocations: 20.48 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01364, allocations: 4 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003986/0.01762, allocations: 1.998 MB / 385.7 MB, free: 10.81 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.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.0961686838418245]