Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.0009397/0.0009397, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.001358/0.001358, allocations: 165 kB / 25.61 MB, free: 8.57 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.023/1.023, allocations: 177 MB / 205.9 MB, free: 4.418 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.1874/0.1874, allocations: 34.86 MB / 297.4 MB, free: 13.34 MB / 282.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.678e-05, allocations: 4.141 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00441/0.004447, allocations: 1.763 MB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.007091, allocations: 1.714 MB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.007235, allocations: 4 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.007678, allocations: 35.77 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006339/0.008311, allocations: 107.4 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.008703, allocations: 91.53 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.008974, allocations: 103.7 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.009099, allocations: 7.984 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.009282, allocations: 59.78 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.009449, allocations: 38.64 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.009472, allocations: 8 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.00976, allocations: 107.8 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.009837, allocations: 19.92 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.009884, allocations: 19.92 kB / 384.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.01028, allocations: 159.5 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.01029, allocations: 0 / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.01029, allocations: 0 / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.0103, allocations: 0 / 384.3 MB, free: 18.41 MB / 314.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.0006421/0.01094, allocations: 459.7 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.01099, allocations: 8.031 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.01106, allocations: 16.89 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.01131, allocations: 149 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.01134, allocations: 4.375 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.01136, allocations: 4.312 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.01156, allocations: 104 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.01158, allocations: 3.938 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.01159, allocations: 4 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.0116, allocations: 3.984 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.676e-05/0.01165, allocations: 7.984 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.01203, allocations: 268.4 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.01217, allocations: 51.11 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.0122, allocations: 15.69 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.01222, allocations: 4 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.01237, allocations: 64.97 kB / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.747e-06/0.01237, allocations: 0 / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005429/0.01291, allocations: 141.4 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.01296, allocations: 81.11 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.01311, allocations: 210.9 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01313, allocations: 33.64 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.01319, allocations: 146.8 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.01323, allocations: 27.78 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.0133, allocations: 31.36 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.01339, allocations: 0.4923 MB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.01343, allocations: 8 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.01348, allocations: 68.73 kB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.844e-05/0.01355, allocations: 43.36 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01355, allocations: 0 / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001605/0.01371, allocations: 89.91 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.01373, allocations: 8 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.01374, allocations: 0 / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.01375, allocations: 0 / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.01385, allocations: 27.92 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.01386, allocations: 4 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.01391, allocations: 7.891 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01393, allocations: 4 kB / 386.9 MB, free: 15.61 MB / 314.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.58e-05/0.01402, allocations: 160.6 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.01406, allocations: 11.89 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.01427, allocations: 102.4 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01427, allocations: 4 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01427, allocations: 0 / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.01428, allocations: 0 / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.01467, allocations: 357.6 kB / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01468, allocations: 0 / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.01473, allocations: 12 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.01473, allocations: 4 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01475, allocations: 3.984 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01475, allocations: 0 / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01475, allocations: 8.031 kB / 387.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.01496, allocations: 255.4 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.01499, allocations: 7.953 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.01502, allocations: 4 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.01511, allocations: 4 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.01515, allocations: 11.92 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.01517, allocations: 0 / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.01527, allocations: 171.1 kB / 388 MB, free: 14.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01527, allocations: 0 / 388 MB, free: 14.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003759/0.01565, allocations: 43.88 kB / 388 MB, free: 14.4 MB / 314.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.001877/0.01752, allocations: 0.5255 MB / 388.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.01772, allocations: 55.58 kB / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.01772, allocations: 0 / 388.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.01777, allocations: 27.67 kB / 388.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.01816, allocations: 40.92 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.01871, allocations: 207.6 kB / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.066e-05/0.01876, allocations: 67.33 kB / 388.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.172e-05/0.01884, allocations: 21.09 kB / 388.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.01897, allocations: 98.19 kB / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.01897, allocations: 0 / 389 MB, free: 13.51 MB / 314.7 MB Notification: Performance of Templates: time 0.006561/0.02553, allocations: 2.807 MB / 391.8 MB, free: 10.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.6855409094132483]