Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001009/0.001009, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001233/0.001233, allocations: 169.3 kB / 24.82 MB, free: 9.273 MB / 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.004/1.004, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2636/0.2636, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.747e-05, allocations: 3.156 kB / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002964/0.002991, allocations: 1.757 MB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.005236, allocations: 1.733 MB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.005333, allocations: 8 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.005637, allocations: 31.77 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.006045, allocations: 111.4 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.006311, allocations: 79.59 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.006511, allocations: 119.6 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.006601, allocations: 4 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.006711, allocations: 67.81 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.006824, allocations: 27.91 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.006843, allocations: 8 kB / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.007038, allocations: 111.7 kB / 383.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.007093, allocations: 31.84 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.007132, allocations: 19.94 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.007397, allocations: 163.5 kB / 383.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007399, allocations: 0 / 383.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007401, allocations: 0 / 383.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.007405, allocations: 3.938 kB / 383.6 MB, free: 13.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005625/0.007968, allocations: 467.6 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.008013, allocations: 16.02 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.00806, allocations: 8.891 kB / 384.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.00826, allocations: 148.4 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.008283, allocations: 12.38 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.008306, allocations: 384 / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.008493, allocations: 115.9 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.008505, allocations: 192 / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.008514, allocations: 384 / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.008523, allocations: 7.938 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.008564, allocations: 11.98 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.008864, allocations: 268.4 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.008979, allocations: 63.08 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.009009, allocations: 19.69 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.009025, allocations: 0 / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.009133, allocations: 73.03 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.009135, allocations: 0 / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003951/0.00953, allocations: 153.4 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.009569, allocations: 77.11 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.009863, allocations: 220 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.009882, allocations: 33.64 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.009944, allocations: 150.8 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.009975, allocations: 31.69 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.01002, allocations: 39.34 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.01016, allocations: 0.4923 MB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.01018, allocations: 8 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.01024, allocations: 68.73 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.733e-05/0.01031, allocations: 51.34 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01031, allocations: 4 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001411/0.01045, allocations: 93.45 kB / 386.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.01047, allocations: 11.98 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01047, allocations: 0 / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.01048, allocations: 4.062 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.01056, allocations: 16 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.01057, allocations: 0 / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.01061, allocations: 7.984 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.01062, allocations: 0 / 386.2 MB, free: 10.59 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 (11): * Single equations (assignments): 11 * 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 9.66e-05/0.01072, allocations: 164.6 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.01074, allocations: 23.78 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.01093, allocations: 110.8 kB / 386.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01094, allocations: 4 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.01094, allocations: 4 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.01095, allocations: 7.984 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.01131, allocations: 373.6 kB / 386.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01132, allocations: 0 / 386.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.01136, allocations: 19.92 kB / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01137, allocations: 0 / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01138, allocations: 8 kB / 386.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01138, allocations: 0 / 386.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01138, allocations: 0 / 386.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.0116, allocations: 267.4 kB / 387.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.01163, allocations: 15.94 kB / 387.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.01165, allocations: 4.031 kB / 387.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.01172, allocations: 4 kB / 387.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.01176, allocations: 15.92 kB / 387.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.01178, allocations: 4 kB / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.325e-05/0.01187, allocations: 160 kB / 387.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01187, allocations: 0 / 387.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.01217, allocations: 51.86 kB / 387.4 MB, free: 9.297 MB / 362.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: 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 (11): * Single equations (assignments): 9 * 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.001308/0.01347, allocations: 0.5329 MB / 387.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.0136, allocations: 59.47 kB / 388 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.0136, allocations: 8.062 kB / 388 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.01365, allocations: 39.59 kB / 388 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.01394, allocations: 37.28 kB / 388.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.01431, allocations: 218 kB / 388.3 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.634e-05/0.01435, allocations: 67.33 kB / 388.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.121e-05/0.01441, allocations: 16.64 kB / 388.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01452, allocations: 102.2 kB / 388.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01452, allocations: 0 / 388.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of Templates: time 0.005915/0.02043, allocations: 2.943 MB / 391.4 MB, free: 5.426 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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: 3.0139871020801365]