Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.0009585/0.0009585, 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.0009741/0.0009741, allocations: 169.9 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 0.9553/0.9553, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.248/0.248, allocations: 32.8 MB / 294.6 MB, free: 1.203 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.38e-05, allocations: 3.672 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.001972/0.001986, allocations: 1.672 MB / 324.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007235/0.00271, allocations: 0.5607 MB / 325.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.002756, allocations: 0 / 325.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.002993, allocations: 103.6 kB / 325.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.003227, allocations: 115.5 kB / 325.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.003434, allocations: 115.7 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.003578, allocations: 107.7 kB / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.003661, allocations: 16 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.003729, allocations: 59.86 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.003816, allocations: 51.88 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.003828, allocations: 4 kB / 326 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-05/0.00392, allocations: 47.92 kB / 326.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.003969, allocations: 31.91 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.003998, allocations: 23.86 kB / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.004143, allocations: 119.5 kB / 326.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004145, allocations: 0 / 326.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004145, allocations: 0 / 326.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.004148, allocations: 0 / 326.3 MB, free: 6.68 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003632/0.004512, allocations: 330 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.004547, allocations: 12.03 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.00458, allocations: 12.92 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.004714, allocations: 149.5 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.004725, allocations: 8.375 kB / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.004746, allocations: 4.375 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.44e-05/0.00484, allocations: 74.92 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.004849, allocations: 192 / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.00486, allocations: 12.12 kB / 326.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004865, allocations: 0 / 326.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.902e-05/0.004894, allocations: 16.73 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.005153, allocations: 206.9 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.721e-05/0.00521, allocations: 46.5 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.005226, allocations: 12.8 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.005243, allocations: 4 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.005263, allocations: 38.5 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.005265, allocations: 4 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004498/0.005715, allocations: 201.6 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.005741, allocations: 51.41 kB / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.005843, allocations: 185.1 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.005856, allocations: 33.7 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.005885, allocations: 100 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.005914, allocations: 47.62 kB / 327.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.005943, allocations: 25.69 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.006012, allocations: 338.7 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.006028, allocations: 12 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.006044, allocations: 12.48 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.006088, allocations: 41.66 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.006089, allocations: 0 / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.825e-05/0.006157, allocations: 73.67 kB / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.006166, allocations: 4 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.006169, allocations: 0 / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.006181, allocations: 0 / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.006249, allocations: 27.92 kB / 328.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.006252, allocations: 4 kB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.006273, allocations: 11.98 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.006278, allocations: 0 / 328.3 MB, free: 4.461 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 (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 6.009e-05/0.006338, allocations: 120.6 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.006357, allocations: 11.98 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.006475, allocations: 104.6 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006476, allocations: 7.938 kB / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006478, allocations: 0 / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.00648, allocations: 0 / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.006832, allocations: 304.2 kB / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006833, allocations: 0 / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.006878, allocations: 23.98 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.00688, allocations: 4 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.006885, allocations: 0 / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.006887, allocations: 3.938 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.006889, allocations: 3.938 kB / 328.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.574e-05/0.006985, allocations: 181.4 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.006996, allocations: 15.91 kB / 329.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.007008, allocations: 3.984 kB / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.007042, allocations: 12.03 kB / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.007067, allocations: 7.922 kB / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.007071, allocations: 4 kB / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.666e-05/0.007118, allocations: 69.53 kB / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007118, allocations: 0 / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00014/0.007258, allocations: 20 kB / 329.2 MB, free: 3.52 MB / 298.7 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.001137/0.008395, allocations: 0.582 MB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.425e-05/0.008479, allocations: 52.83 kB / 329.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.008481, allocations: 3.938 kB / 329.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.957e-05/0.008511, allocations: 28.84 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.008656, allocations: 23.86 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.008955, allocations: 278.4 kB / 330.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.008994, allocations: 75.33 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.018e-05/0.009034, allocations: 24.47 kB / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.009089, allocations: 63.38 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009089, allocations: 0 / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of Templates: time 0.00293/0.01202, allocations: 1.753 MB / 332.1 MB, free: 0.9102 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.9327018442563713]