Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001883/0.001883, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00201/0.00201, allocations: 165.3 kB / 24.28 MB, free: 156 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 1.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3518/0.3518, allocations: 32.8 MB / 293.9 MB, free: 1.223 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 375.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.217e-05/4.398e-05, allocations: 9.203 kB / 375.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.004433/0.004477, allocations: 1.63 MB / 376.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.007475, allocations: 1.259 MB / 378.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.007559, allocations: 0 / 378.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.007865, allocations: 23.78 kB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.008329, allocations: 87.56 kB / 378.3 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.008742, allocations: 95.62 kB / 378.4 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.008994, allocations: 87.69 kB / 378.5 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.009135, allocations: 8 kB / 378.5 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.009271, allocations: 39.89 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.009445, allocations: 27.91 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.009474, allocations: 4 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.009737, allocations: 87.88 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.00981, allocations: 23.92 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.009869, allocations: 19.92 kB / 378.7 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.01028, allocations: 155.5 kB / 378.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01028, allocations: 3.938 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01028, allocations: 0 / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.01029, allocations: 4 kB / 378.8 MB, free: 1.438 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007985/0.01109, allocations: 435.7 kB / 379.3 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.01114, allocations: 11.97 kB / 379.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.01121, allocations: 8.891 kB / 379.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.01151, allocations: 150.4 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.01153, allocations: 8.375 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.01156, allocations: 4.375 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.01181, allocations: 103.3 kB / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.01182, allocations: 192 / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.01184, allocations: 4.125 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.01185, allocations: 0 / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.01198, allocations: 35.91 kB / 379.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.0125, allocations: 295.7 kB / 379.9 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.01264, allocations: 58.98 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.0127, allocations: 27.59 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.01273, allocations: 8.062 kB / 380 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.01277, allocations: 33.39 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.01277, allocations: 8 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007227/0.0135, allocations: 157.6 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.01357, allocations: 81.11 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.01379, allocations: 213.9 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.01381, allocations: 25.7 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.01393, allocations: 146.8 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.01396, allocations: 27.78 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.01402, allocations: 27.38 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002905/0.01431, allocations: 0.4923 MB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.01439, allocations: 32.05 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.0145, allocations: 69.06 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.01464, allocations: 63.59 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01465, allocations: 0 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00022/0.01487, allocations: 97.56 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.01489, allocations: 10.03 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01489, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.01491, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01502, allocations: 24.02 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01502, allocations: 0 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.01507, allocations: 4 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.01508, allocations: 0 / 381.4 MB, free: 14.58 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 (8): * Single equations (assignments): 8 * 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.0001711/0.01525, allocations: 172.4 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.01529, allocations: 12.33 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.01558, allocations: 102.4 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01559, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01559, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.0156, allocations: 12 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.01618, allocations: 385.3 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01618, allocations: 0 / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.01625, allocations: 15.98 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01626, allocations: 3.938 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01627, allocations: 4 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01627, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01627, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.01662, allocations: 251.7 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.01664, allocations: 15.95 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01667, allocations: 3.984 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.01673, allocations: 0 / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.01677, allocations: 7.984 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.01678, allocations: 4 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.01693, allocations: 159.1 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01693, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.01726, allocations: 43.86 kB / 382.6 MB, free: 13.33 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 (8): * Single equations (assignments): 8 * 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.003515/0.02077, allocations: 0.5269 MB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.02109, allocations: 71.58 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.0211, allocations: 4 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.02119, allocations: 35.67 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.02156, allocations: 23.94 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.02211, allocations: 198.3 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.503e-05/0.0222, allocations: 75.33 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.55e-05/0.02229, allocations: 28.95 kB / 383.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.02234, allocations: 20.5 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02234, allocations: 0 / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.006062/0.0284, allocations: 1.903 MB / 385.5 MB, free: 10.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.952426424017176]