Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.00133/0.00133, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001437/0.001437, allocations: 215.6 kB / 24.48 MB, free: 3.844 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2386/0.2386, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3455, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00328/0.3488, allocations: 1.586 MB / 0.5634 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3499, allocations: 0.5309 MB / 0.5639 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.35, allocations: 4 kB / 0.5639 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.3502, allocations: 31.78 kB / 0.5639 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.3505, allocations: 71.69 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3508, allocations: 114.8 kB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.3509, allocations: 71.75 kB / 0.5642 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.351, allocations: 4 kB / 0.5642 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.399e-05/0.3511, allocations: 23.92 kB / 0.5642 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.3511, allocations: 23.86 kB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3511, allocations: 4 kB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.3512, allocations: 31.98 kB / 0.5643 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.3513, allocations: 15.92 kB / 0.5643 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.3513, allocations: 19.81 kB / 0.5643 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3515, allocations: 90.03 kB / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3515, allocations: 0 / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3515, allocations: 0 / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3515, allocations: 0 / 0.5644 GB, free: 1.543 MB / 398.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.000497/0.352, allocations: 305.8 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3521, allocations: 12.03 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.3521, allocations: 16.88 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3523, allocations: 126.4 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3523, allocations: 4.375 kB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3523, allocations: 4.375 kB / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3525, allocations: 53.75 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3525, allocations: 0 / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3525, allocations: 3.984 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3525, allocations: 3.938 kB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.477e-05/0.3526, allocations: 19.98 kB / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.353, allocations: 232.5 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3532, allocations: 50.48 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.3532, allocations: 12.86 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3533, allocations: 4 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3533, allocations: 38.62 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3533, allocations: 0 / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005827/0.3539, allocations: 153.4 kB / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3539, allocations: 59.39 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3541, allocations: 148.6 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3541, allocations: 25.7 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.3542, allocations: 96.12 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3542, allocations: 23.8 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.3542, allocations: 13.72 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3544, allocations: 322.8 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.3545, allocations: 19.98 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.3545, allocations: 27.97 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3547, allocations: 56.77 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3547, allocations: 0 / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002032/0.3549, allocations: 89.88 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3549, allocations: 7.938 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3549, allocations: 0 / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3549, allocations: 3.984 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.355, allocations: 12 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.355, allocations: 4 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.355, allocations: 7.984 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.355, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.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 9.354e-05/0.3551, allocations: 117.8 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.3552, allocations: 7.953 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.3554, allocations: 102 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3554, allocations: 0 / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3554, allocations: 0 / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3554, allocations: 0 / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.3559, allocations: 310.1 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3559, allocations: 4 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.3559, allocations: 8 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3559, allocations: 0 / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3559, allocations: 3.984 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3559, allocations: 0 / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3559, allocations: 4 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3562, allocations: 191.4 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.3562, allocations: 7.891 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3562, allocations: 0 / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.3563, allocations: 4.188 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3563, allocations: 7.984 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.3563, allocations: 11.88 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3564, allocations: 119.2 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3564, allocations: 0 / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.3567, allocations: 15.94 kB / 0.5671 GB, free: 14.47 MB / 414.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.001611/0.3583, allocations: 436.8 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3585, allocations: 43.97 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3585, allocations: 0 / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/0.3586, allocations: 31.91 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3589, allocations: 19.88 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.3594, allocations: 219.9 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.864e-05/0.3595, allocations: 87.02 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.3596, allocations: 15.42 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3596, allocations: 0 / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of Templates: time 0.003525/0.3631, allocations: 1.47 MB / 0.5694 GB, free: 12.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 7.916259128134698]