Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001048/0.001048, allocations: 82.59 kB / 21.43 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.001201/0.001201, allocations: 167.9 kB / 24.82 MB, free: 9.32 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.005/1.005, allocations: 177 MB / 205.1 MB, free: 5.477 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.2388/0.2388, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.578e-05, allocations: 6.25 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.007197/0.007223, allocations: 1.752 MB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.01191, allocations: 1.001 MB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.01202, allocations: 4 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.01233, allocations: 39.7 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.01271, allocations: 99.47 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.01297, allocations: 75.61 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.01316, allocations: 115.6 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.01326, allocations: 4 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.01338, allocations: 59.81 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.58e-05/0.01345, allocations: 19.92 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.01347, allocations: 4 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.01359, allocations: 43.92 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.01365, allocations: 27.91 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.01369, allocations: 15.94 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.01393, allocations: 99.58 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.01393, allocations: 3.938 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01393, allocations: 0 / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.01394, allocations: 4 kB / 382.7 MB, free: 14.37 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.0005511/0.01449, allocations: 439.9 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003064/0.01755, allocations: 8.031 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.01761, allocations: 12.89 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.01782, allocations: 144.4 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.01783, allocations: 4.375 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.01786, allocations: 12.34 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.01799, allocations: 58.88 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.018, allocations: 192 / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.01801, allocations: 4.375 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.01802, allocations: 11.94 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/0.01805, allocations: 7.984 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.01835, allocations: 252.4 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.01846, allocations: 51.11 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.01849, allocations: 19.67 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.0185, allocations: 0 / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.01862, allocations: 69 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.01862, allocations: 0 / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004066/0.01903, allocations: 145.4 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.01906, allocations: 51.41 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.0192, allocations: 216 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.01922, allocations: 25.7 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.01929, allocations: 146.8 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.01932, allocations: 31.72 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.01937, allocations: 31.36 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.01951, allocations: 0.4962 MB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.01954, allocations: 7.938 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.01957, allocations: 31.36 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.084e-05/0.01964, allocations: 47.34 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01964, allocations: 4 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.01977, allocations: 85.52 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01979, allocations: 4 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01979, allocations: 0 / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01981, allocations: 4 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.01989, allocations: 15.98 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01989, allocations: 0 / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.01994, allocations: 8 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.01994, allocations: 7.969 kB / 385.1 MB, free: 11.74 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.079e-05/0.02003, allocations: 160.6 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.02006, allocations: 19.84 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.02024, allocations: 102.4 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.02025, allocations: 0 / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.02025, allocations: 0 / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02025, allocations: 0 / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.02369, allocations: 353.6 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.0237, allocations: 3.984 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.02374, allocations: 16.03 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.02375, allocations: 0 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.02376, allocations: 0 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.02376, allocations: 4 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02376, allocations: 0 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.02395, allocations: 255.4 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.02397, allocations: 11.95 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.02399, allocations: 3.984 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.02407, allocations: 4 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.0241, allocations: 7.984 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.02411, allocations: 4.375 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.218e-05/0.0242, allocations: 164 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0242, allocations: 0 / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.02449, allocations: 27.88 kB / 386.2 MB, free: 10.54 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.001196/0.02569, allocations: 447.9 kB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.02582, allocations: 47.59 kB / 386.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.02582, allocations: 0 / 386.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.02587, allocations: 31.66 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.02924, allocations: 39.48 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.02969, allocations: 206.3 kB / 386.9 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.07e-05/0.02974, allocations: 67.33 kB / 387 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.0298, allocations: 17.27 kB / 387 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.02989, allocations: 90.19 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02989, allocations: 0 / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of Templates: time 0.007975/0.03787, allocations: 2.03 MB / 389.2 MB, free: 7.688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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: 2.9845678228884935]