Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001559/0.001559, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001907/0.001907, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2639/0.2639, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.843e-05, allocations: 5.5 kB / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003387/0.003416, allocations: 1.668 MB / 325 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.004425, allocations: 0.5335 MB / 325.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.004492, allocations: 0 / 325.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.004725, allocations: 31.72 kB / 325.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.005005, allocations: 71.62 kB / 325.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.005273, allocations: 91.64 kB / 325.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.005425, allocations: 67.81 kB / 325.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.005521, allocations: 8 kB / 325.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.005598, allocations: 35.84 kB / 325.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.005665, allocations: 19.91 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.005683, allocations: 0 / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.084e-05/0.005763, allocations: 35.94 kB / 325.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.005816, allocations: 15.92 kB / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.005844, allocations: 11.94 kB / 325.9 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.006025, allocations: 71.73 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.006029, allocations: 0 / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.00603, allocations: 0 / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.006035, allocations: 0 / 325.9 MB, free: 7 MB / 298.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.0003644/0.006399, allocations: 281.7 kB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.006438, allocations: 8.031 kB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.006472, allocations: 4.938 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.006639, allocations: 141.6 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.006651, allocations: 8.359 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.006668, allocations: 384 / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.00678, allocations: 62.89 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.006792, allocations: 4.172 kB / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.006801, allocations: 4.125 kB / 326.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.006806, allocations: 0 / 326.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.534e-05/0.006831, allocations: 7.938 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.007071, allocations: 159.8 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.007222, allocations: 30.56 kB / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.00724, allocations: 12.86 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.007258, allocations: 4.062 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.007283, allocations: 30.56 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.007284, allocations: 0 / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003262/0.00761, allocations: 85.58 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.007642, allocations: 51.41 kB / 326.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.008019, allocations: 148.2 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.008033, allocations: 29.7 kB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.008071, allocations: 88.12 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.008095, allocations: 19.8 kB / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.008132, allocations: 29.69 kB / 327.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.008219, allocations: 322.8 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.008232, allocations: 0 / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.294e-05/0.008245, allocations: 4 kB / 327.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.008288, allocations: 20.84 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008289, allocations: 0 / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.642e-05/0.008376, allocations: 45.62 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.008394, allocations: 8 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.008401, allocations: 0 / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.008415, allocations: 3.938 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.008481, allocations: 11.98 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.008485, allocations: 7.984 kB / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.008511, allocations: 8.25 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.008517, allocations: 0 / 327.6 MB, free: 5.227 MB / 298.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 6.152e-05/0.008579, allocations: 108.7 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.008607, allocations: 11.92 kB / 327.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.008726, allocations: 62.16 kB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.008729, allocations: 0 / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.008734, allocations: 7.922 kB / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008737, allocations: 0 / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.00898, allocations: 206.8 kB / 327.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.008982, allocations: 7.938 kB / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.009033, allocations: 15.98 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.009036, allocations: 0 / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.009041, allocations: 0 / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009042, allocations: 0 / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.009044, allocations: 0 / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.848e-05/0.009142, allocations: 147.5 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.009156, allocations: 15.89 kB / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.009171, allocations: 0 / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.009228, allocations: 4.281 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.009255, allocations: 7.984 kB / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.009259, allocations: 0 / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.009302, allocations: 38.23 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009302, allocations: 0 / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000224/0.009526, allocations: 15.94 kB / 328.2 MB, free: 4.531 MB / 298.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.001525/0.01105, allocations: 0.4952 MB / 328.7 MB, free: 4.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.01115, allocations: 32.77 kB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.01116, allocations: 4 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.01118, allocations: 12.86 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01144, allocations: 27.11 kB / 328.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.01186, allocations: 167.2 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.906e-05/0.01191, allocations: 63.34 kB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.01195, allocations: 11.97 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.01202, allocations: 59.38 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01202, allocations: 0 / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of Templates: time 0.007199/0.01922, allocations: 1.241 MB / 330.3 MB, free: 2.645 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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: 2.919574878178537]