Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.002522/0.002522, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003134/0.003134, allocations: 165.3 kB / 24.28 MB, free: 152 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.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3803/0.3803, allocations: 34.27 MB / 295.3 MB, free: 0.6562 MB / 266.7 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.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.292e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003207/0.00324, allocations: 1.626 MB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.005502, allocations: 1.27 MB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.005565, allocations: 4 kB / 380.2 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.005847, allocations: 31.83 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.006175, allocations: 87.48 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.006505, allocations: 107.6 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.00668, allocations: 79.81 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.006805, allocations: 19.92 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.006893, allocations: 43.91 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.007018, allocations: 27.91 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.007043, allocations: 4 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.007233, allocations: 99.75 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.007294, allocations: 23.91 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.007348, allocations: 19.92 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.007657, allocations: 155.5 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.007661, allocations: 0 / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007662, allocations: 0 / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.007667, allocations: 0 / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006574/0.008324, allocations: 443.6 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.008366, allocations: 12.03 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.008426, allocations: 8.891 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.008678, allocations: 148.3 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.008694, allocations: 4.375 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.008722, allocations: 8.312 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.008932, allocations: 103.3 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.008945, allocations: 192 / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.00896, allocations: 4.125 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.008966, allocations: 4 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.00907, allocations: 23.97 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.009562, allocations: 311.6 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.009715, allocations: 58.98 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.009781, allocations: 31.83 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.009811, allocations: 3.984 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.009851, allocations: 37.39 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.009852, allocations: 0 / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006618/0.01051, allocations: 161.3 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/0.01059, allocations: 81.11 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.01081, allocations: 220.1 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01083, allocations: 25.7 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.01093, allocations: 142.8 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.01097, allocations: 31.73 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.01103, allocations: 31.38 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002643/0.01129, allocations: 0.4961 MB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.01137, allocations: 19.98 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.01148, allocations: 65.14 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.01164, allocations: 59.75 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01164, allocations: 4.031 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002209/0.01186, allocations: 93.98 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.01187, allocations: 4 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01188, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.0119, allocations: 4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.01201, allocations: 19.98 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01201, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.01206, allocations: 8 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.01207, allocations: 0 / 383.5 MB, free: 12.48 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.000134/0.0122, allocations: 172.5 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.01225, allocations: 15.94 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.01255, allocations: 98.44 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01255, allocations: 4 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01256, allocations: 0 / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01256, allocations: 0 / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.01313, allocations: 385.2 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01313, allocations: 0 / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.0132, allocations: 15.98 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.0132, allocations: 4 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.01321, allocations: 4 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01321, allocations: 240 / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01322, allocations: 0 / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.01355, allocations: 255.7 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.01357, allocations: 3.953 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.01359, allocations: 7.984 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.01366, allocations: 0 / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.01371, allocations: 11.98 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01371, allocations: 0 / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.01385, allocations: 165.8 kB / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01385, allocations: 0 / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000303/0.01416, allocations: 47.86 kB / 384.7 MB, free: 11.23 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.003416/0.01757, allocations: 0.5181 MB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.01781, allocations: 63.59 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01781, allocations: 0 / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.0179, allocations: 39.67 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.01821, allocations: 20.3 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.01877, allocations: 218.3 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.01888, allocations: 75.33 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.35e-05/0.01897, allocations: 28.64 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.01902, allocations: 16.5 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01902, allocations: 0 / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.006036/0.02506, allocations: 1.937 MB / 387.6 MB, free: 8.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.9019274049205706]