Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001395/0.001395, allocations: 84.34 kB / 20.95 MB, free: 3.457 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.001508/0.001508, allocations: 169.3 kB / 24.27 MB, free: 148 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.508/1.508, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3552/0.3552, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.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.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.081e-05, allocations: 6.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003166/0.003197, allocations: 1.615 MB / 376.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.005313, allocations: 1.259 MB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.005381, allocations: 0 / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.005652, allocations: 39.7 kB / 378.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.006041, allocations: 83.55 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.006568, allocations: 107.7 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.006797, allocations: 83.7 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.006927, allocations: 19.97 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.533e-05/0.007023, allocations: 43.91 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.007149, allocations: 27.89 kB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.007171, allocations: 8 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.007379, allocations: 91.83 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.007432, allocations: 15.92 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.007484, allocations: 23.91 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.007847, allocations: 159.5 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.007851, allocations: 0 / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.007852, allocations: 0 / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.007857, allocations: 0 / 378.8 MB, free: 1.379 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006271/0.008484, allocations: 333.7 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.008527, allocations: 16.02 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.008612, allocations: 12.89 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.008878, allocations: 151.3 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.008892, allocations: 384 / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.008926, allocations: 4.375 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.009171, allocations: 105.6 kB / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.009186, allocations: 4.188 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.009203, allocations: 4.125 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.009208, allocations: 0 / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.009338, allocations: 43.91 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.009842, allocations: 244.5 kB / 379.7 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.009997, allocations: 62.53 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.01006, allocations: 20.97 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.01009, allocations: 0 / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.01013, allocations: 34.56 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.01013, allocations: 0 / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008059/0.01094, allocations: 201.3 kB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.01103, allocations: 81.11 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.01123, allocations: 145.8 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.01125, allocations: 33.7 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.01133, allocations: 100.1 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.01137, allocations: 23.75 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.01141, allocations: 21.72 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.01162, allocations: 326.8 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01173, allocations: 27.97 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.01186, allocations: 75.34 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.01206, allocations: 72.81 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01206, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002744/0.01234, allocations: 109.8 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.01236, allocations: 6.031 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01237, allocations: 0 / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-05/0.01241, allocations: 4 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.01254, allocations: 23.95 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01255, allocations: 4.062 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.01261, allocations: 11.98 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01262, allocations: 4 kB / 381.1 MB, free: 14.92 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.0001241/0.01275, allocations: 121.7 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.0128, allocations: 12.33 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.01313, allocations: 122.4 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01313, allocations: 0 / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01314, allocations: 0 / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01314, allocations: 8 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.01371, allocations: 354 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01371, allocations: 0 / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.01378, allocations: 15.98 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01378, allocations: 0 / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01379, allocations: 4 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01379, allocations: 0 / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.0138, allocations: 0 / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.01412, allocations: 215.3 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.01414, allocations: 15.94 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.01416, allocations: 4 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.01425, allocations: 4 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.01429, allocations: 7.984 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.0143, allocations: 3.938 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.01441, allocations: 123.2 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01441, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.01473, allocations: 43.86 kB / 382.1 MB, free: 13.81 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.002283/0.01701, allocations: 0.5293 MB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.01729, allocations: 75.89 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.0173, allocations: 0 / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.0174, allocations: 35.97 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.0178, allocations: 23.92 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.01834, allocations: 208.6 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.01845, allocations: 91.27 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.644e-05/0.01854, allocations: 25 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.01859, allocations: 16.5 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01859, allocations: 0 / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Templates: time 0.005788/0.02438, allocations: 1.949 MB / 385.1 MB, free: 11.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.822781311930157]