Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001939/0.001939, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3557/0.3557, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.152e-05, allocations: 4.703 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003551/0.003583, allocations: 1.751 MB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.006147, allocations: 1.001 MB / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.006251, allocations: 3.938 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.006767, allocations: 115.6 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.007266, allocations: 127.4 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.007505, allocations: 75.67 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.00773, allocations: 131.5 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.007825, allocations: 11.94 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.007973, allocations: 71.8 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.008116, allocations: 67.86 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.008138, allocations: 4 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.008282, allocations: 67.84 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.008353, allocations: 31.84 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.008403, allocations: 15.94 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.008682, allocations: 143.5 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.008686, allocations: 0 / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008687, allocations: 0 / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.008692, allocations: 0 / 380.9 MB, free: 15.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007104/0.009403, allocations: 487.2 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.009437, allocations: 11.97 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.009506, allocations: 28.84 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.009776, allocations: 152.4 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.009789, allocations: 4.375 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.009816, allocations: 8.375 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.009979, allocations: 50.23 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.009993, allocations: 4.172 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.01, allocations: 8.375 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.01001, allocations: 7.875 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.0101, allocations: 23.92 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.0106, allocations: 315.7 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.01087, allocations: 71.03 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.01094, allocations: 19.81 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.01096, allocations: 7.984 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.01114, allocations: 84.98 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.01114, allocations: 0 / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008861/0.01203, allocations: 249.7 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.01209, allocations: 55.39 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.01263, allocations: 277.6 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.01266, allocations: 37.7 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.0128, allocations: 166.8 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.01286, allocations: 35.73 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.01293, allocations: 35.36 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000311/0.01324, allocations: 0.5118 MB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.01332, allocations: 27.98 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.01342, allocations: 51.36 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.01359, allocations: 95.17 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01359, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002813/0.01387, allocations: 133.5 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01389, allocations: 8.031 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01389, allocations: 0 / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01391, allocations: 4 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.014, allocations: 19.98 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.014, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.01406, allocations: 12 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01407, allocations: 4 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 0.0001487/0.01422, allocations: 172.4 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.01426, allocations: 27.86 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.0146, allocations: 143 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.0146, allocations: 4 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.0146, allocations: 0 / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.01461, allocations: 4 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.01532, allocations: 480.6 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01532, allocations: 4 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.01538, allocations: 12 kB / 384.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01538, allocations: 0 / 384.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.0154, allocations: 8 kB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0154, allocations: 3.938 kB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.0154, allocations: 8.047 kB / 384.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.01581, allocations: 307 kB / 385 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.01584, allocations: 11.91 kB / 385 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.01586, allocations: 4 kB / 385 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.01595, allocations: 7.984 kB / 385 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.01599, allocations: 15.86 kB / 385 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.01602, allocations: 8 kB / 385.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.01622, allocations: 196.4 kB / 385.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01622, allocations: 0 / 385.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.0165, allocations: 31.94 kB / 385.3 MB, free: 10.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003891/0.02039, allocations: 0.5501 MB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.0207, allocations: 87.59 kB / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.0207, allocations: 0 / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.02082, allocations: 47.61 kB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.02122, allocations: 35.83 kB / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.02187, allocations: 294 kB / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.022, allocations: 113.3 kB / 386.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.02205, allocations: 8.656 kB / 386.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.02211, allocations: 24.48 kB / 386.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02211, allocations: 0 / 386.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of Templates: time 0.006929/0.02904, allocations: 2.12 MB / 388.5 MB, free: 7.398 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.9807720659300685]