Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001521/0.001521, allocations: 84.73 kB / 20.68 MB, free: 1.035 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.001669/0.001669, allocations: 164.6 kB / 23.95 MB, free: 4.168 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.386/1.386, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1969/0.1969, allocations: 32.8 MB / 293.5 MB, free: 32 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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.138e-05, allocations: 5.375 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002711/0.002733, allocations: 1.627 MB / 441.7 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003765, allocations: 0.5375 MB / 442.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.003811, allocations: 0 / 442.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.004013, allocations: 35.77 kB / 442.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.004272, allocations: 79.56 kB / 442.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.004528, allocations: 106.8 kB / 442.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.004688, allocations: 91.69 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.004774, allocations: 19.92 kB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.004848, allocations: 43.89 kB / 442.7 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.004931, allocations: 35.89 kB / 442.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.004955, allocations: 4 kB / 442.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.005052, allocations: 43.92 kB / 442.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.005098, allocations: 15.94 kB / 442.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.005142, allocations: 23.91 kB / 442.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.005317, allocations: 107.6 kB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005318, allocations: 7.938 kB / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005319, allocations: 0 / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.005322, allocations: 0 / 442.9 MB, free: 5.348 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004471/0.00577, allocations: 329.7 kB / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.0058, allocations: 8.031 kB / 443.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.005836, allocations: 8.891 kB / 443.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.006017, allocations: 152.5 kB / 443.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.006037, allocations: 4.375 kB / 443.4 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.006061, allocations: 8.328 kB / 443.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.00622, allocations: 74.17 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.006231, allocations: 192 / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.006243, allocations: 8.125 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-06/0.006247, allocations: 0 / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.006367, allocations: 43.89 kB / 443.5 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.006724, allocations: 248.4 kB / 443.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.006926, allocations: 78.41 kB / 443.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.006988, allocations: 24.84 kB / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.007008, allocations: 0 / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.007042, allocations: 42.56 kB / 443.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.007043, allocations: 0 / 443.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009951/0.008038, allocations: 281.4 kB / 444.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.008087, allocations: 55.39 kB / 444.2 MB, free: 3.883 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.008254, allocations: 181.6 kB / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.008274, allocations: 25.7 kB / 444.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.008343, allocations: 96.14 kB / 444.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.008388, allocations: 47.56 kB / 444.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.008439, allocations: 33.7 kB / 444.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.00859, allocations: 318.8 kB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.008684, allocations: 31.98 kB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.00879, allocations: 39.97 kB / 445 MB, free: 3.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.008988, allocations: 92.83 kB / 445.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.008989, allocations: 0 / 445.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002724/0.009261, allocations: 140.5 kB / 445.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.009275, allocations: 4.109 kB / 445.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.009279, allocations: 3.938 kB / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.009293, allocations: 7.938 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.00941, allocations: 23.98 kB / 445.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.009416, allocations: 3.938 kB / 445.3 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.009464, allocations: 11.98 kB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.009474, allocations: 8 kB / 445.3 MB, free: 2.793 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 (13): * Single equations (assignments): 13 * 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.0001083/0.009583, allocations: 122.5 kB / 445.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.009618, allocations: 7.953 kB / 445.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.009971, allocations: 167 kB / 445.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.009975, allocations: 4 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.009979, allocations: 0 / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.009988, allocations: 7.922 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005858/0.01057, allocations: 390.9 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01058, allocations: 0 / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.01067, allocations: 35.86 kB / 446 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.01068, allocations: 3.938 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01069, allocations: 3.984 kB / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.01069, allocations: 4 kB / 446 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01069, allocations: 3.938 kB / 446 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.01102, allocations: 228.4 kB / 446.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.01103, allocations: 11.89 kB / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.01105, allocations: 7.984 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.01113, allocations: 8 kB / 446.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.01116, allocations: 7.984 kB / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01117, allocations: 4 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.01128, allocations: 126.4 kB / 446.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01128, allocations: 0 / 446.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.01153, allocations: 27.92 kB / 446.4 MB, free: 1.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001754/0.01329, allocations: 490.8 kB / 446.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.01355, allocations: 99.83 kB / 447 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01355, allocations: 0 / 447 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01366, allocations: 55.91 kB / 447.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.01395, allocations: 31.69 kB / 447.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.01447, allocations: 250.6 kB / 447.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.734e-05/0.01457, allocations: 88.31 kB / 447.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.01463, allocations: 24.53 kB / 447.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.01467, allocations: 16.5 kB / 447.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01467, allocations: 0 / 447.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of Templates: time 0.1575/0.1722, allocations: 1.513 MB / 449 MB, free: 21.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.504689756780863]