Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00281/0.00281, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.262/0.262, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 74.73 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.184, allocations: 60.8 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.006847/0.1909, allocations: 1.901 MB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.1939, allocations: 0.9899 MB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.194, allocations: 0 / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007421/0.1948, allocations: 215.4 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.1954, allocations: 175.4 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.1964, allocations: 178.7 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.1969, allocations: 243.3 kB / 474.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1971, allocations: 37.66 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.1975, allocations: 119.5 kB / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.1978, allocations: 151.5 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.1979, allocations: 8 kB / 474.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.1981, allocations: 55.98 kB / 474.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.1982, allocations: 51.77 kB / 474.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1984, allocations: 91.34 kB / 474.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.1989, allocations: 239.1 kB / 475.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1989, allocations: 4 kB / 475.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.199, allocations: 4 kB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.199, allocations: 0 / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001333/0.2003, allocations: 0.5439 MB / 475.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.728e-05/0.2004, allocations: 12.03 kB / 475.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.418e-05/0.2005, allocations: 24.66 kB / 475.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/0.2012, allocations: 284 kB / 476 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.2012, allocations: 4.375 kB / 476 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.2013, allocations: 12.12 kB / 476 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.2017, allocations: 114.3 kB / 476.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.2017, allocations: 3.906 kB / 476.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2017, allocations: 4 kB / 476.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2017, allocations: 0 / 476.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.202, allocations: 55.88 kB / 476.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.2029, allocations: 468.7 kB / 476.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/0.2035, allocations: 125.2 kB / 476.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.2037, allocations: 45.83 kB / 476.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.2038, allocations: 4 kB / 476.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003803/0.2042, allocations: 125.1 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.274e-06/0.2042, allocations: 0 / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001972/0.2062, allocations: 0.489 MB / 477.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.2063, allocations: 85.11 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006408/0.2069, allocations: 428.5 kB / 477.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.207, allocations: 29.7 kB / 477.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.2072, allocations: 156.5 kB / 478.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.2073, allocations: 63.09 kB / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.2074, allocations: 41.72 kB / 478.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.2076, allocations: 346.8 kB / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2077, allocations: 63.91 kB / 478.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.2079, allocations: 91.34 kB / 478.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.2083, allocations: 163.5 kB / 478.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2083, allocations: 0 / 478.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006147/0.209, allocations: 233.1 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.209, allocations: 7.938 kB / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.209, allocations: 4.234 kB / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.209, allocations: 3.938 kB / 479.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2093, allocations: 47.91 kB / 479.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2093, allocations: 3.984 kB / 479.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.2094, allocations: 11.94 kB / 479.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.2094, allocations: 8 kB / 479.2 MB, free: 4.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002469/0.2097, allocations: 173.8 kB / 479.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.2098, allocations: 35.55 kB / 479.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.2099, allocations: 38.62 kB / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2099, allocations: 7.984 kB / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2099, allocations: 0 / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2099, allocations: 0 / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.2112, allocations: 0.7272 MB / 480.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2112, allocations: 0 / 480.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2113, allocations: 31.98 kB / 480.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.2113, allocations: 8 kB / 480.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2114, allocations: 4 kB / 480.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.2114, allocations: 7.984 kB / 480.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2114, allocations: 3.938 kB / 480.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006273/0.212, allocations: 413.8 kB / 480.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.2121, allocations: 108.7 kB / 480.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.2122, allocations: 8 kB / 480.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2124, allocations: 12 kB / 480.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.2125, allocations: 27.84 kB / 480.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.2125, allocations: 8.188 kB / 480.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004057/0.213, allocations: 319 kB / 481.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.213, allocations: 3.938 kB / 481.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004965/0.2135, allocations: 48 kB / 481.1 MB, free: 2.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001709/0.2152, allocations: 0.5179 MB / 481.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.2157, allocations: 155.8 kB / 481.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2157, allocations: 0 / 481.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.2159, allocations: 79.84 kB / 481.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000749/0.2167, allocations: 60.19 kB / 481.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2179, allocations: 0.5515 MB / 482.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.2184, allocations: 0.7753 MB / 483.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.2185, allocations: 37.92 kB / 483.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.2186, allocations: 27.42 kB / 483.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2186, allocations: 4 kB / 483.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of Templates: time 0.00933/0.228, allocations: 3.109 MB / 486.4 MB, free: 13.65 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches