Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.00149/0.00149, allocations: 85.8 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.001236/0.001236, allocations: 163.9 kB / 24.82 MB, free: 8.867 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.017/1.017, 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.2822/0.2822, allocations: 34.86 MB / 296.6 MB, free: 0.4922 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.459e-05, allocations: 8.781 kB / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004413/0.004448, allocations: 1.758 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.006267, allocations: 1.001 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.006388, allocations: 3.938 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.006728, allocations: 39.7 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.007173, allocations: 103.5 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.007511, allocations: 75.67 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.007744, allocations: 107.6 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.007851, allocations: 11.98 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.008004, allocations: 51.84 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.813e-05/0.008102, allocations: 31.89 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.008123, allocations: 4 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.008247, allocations: 43.92 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.008311, allocations: 23.92 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.008365, allocations: 23.86 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.008598, allocations: 95.66 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.008602, allocations: 0 / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.008604, allocations: 0 / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.008608, allocations: 0 / 382.7 MB, free: 14.36 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000543/0.009151, allocations: 447.8 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.009198, allocations: 12.03 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.009256, allocations: 8.891 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.009469, allocations: 154.5 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.009488, allocations: 8.375 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.009507, allocations: 384 / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.009653, allocations: 62.94 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.009664, allocations: 192 / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.009673, allocations: 384 / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.009681, allocations: 3.938 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.009723, allocations: 11.98 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.01005, allocations: 256.4 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.01016, allocations: 47.11 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.0102, allocations: 23.67 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.01021, allocations: 4 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.01034, allocations: 65.03 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.01034, allocations: 0 / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004285/0.01077, allocations: 137.4 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.0108, allocations: 55.41 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.01096, allocations: 222.5 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.01098, allocations: 29.7 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.01105, allocations: 158.8 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.01109, allocations: 23.75 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.01114, allocations: 39.34 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.0113, allocations: 0.4884 MB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.01133, allocations: 11.94 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.01137, allocations: 43.28 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.01144, allocations: 39.36 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01144, allocations: 0 / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001515/0.01159, allocations: 93.88 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.01162, allocations: 4 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01162, allocations: 0 / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.01164, allocations: 4.031 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01175, allocations: 27.92 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.01175, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.0118, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.0118, allocations: 4 kB / 385.1 MB, free: 11.7 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 (10): * Single equations (assignments): 10 * 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.368e-05/0.0119, allocations: 160.6 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.01193, allocations: 19.84 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.01212, allocations: 99.06 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01212, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01213, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01213, allocations: 4 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.01249, allocations: 365.6 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.0125, allocations: 0 / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.01254, allocations: 8 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.01254, allocations: 0 / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.01255, allocations: 8 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01256, allocations: 0 / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01256, allocations: 0 / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.01277, allocations: 251.4 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.01279, allocations: 15.97 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.01282, allocations: 7.984 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.01289, allocations: 4 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.01293, allocations: 11.92 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01295, allocations: 4 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.837e-05/0.01304, allocations: 160.8 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01304, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.01333, allocations: 23.94 kB / 386.2 MB, free: 10.5 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 (9): * Single equations (assignments): 7 * 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.001271/0.0146, allocations: 436.1 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01473, allocations: 55.59 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01473, allocations: 0 / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.01478, allocations: 27.67 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.0151, allocations: 31.91 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.01554, allocations: 222.2 kB / 387 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.004e-05/0.01559, allocations: 67.34 kB / 387.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.293e-05/0.01564, allocations: 21.39 kB / 387.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.01573, allocations: 86.19 kB / 387.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01573, allocations: 0 / 387.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of Templates: time 0.005312/0.02104, allocations: 2.018 MB / 389.2 MB, free: 7.648 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.1439199643209577]