Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.001544/0.001544, allocations: 84.25 kB / 22.21 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.001112/0.001112, allocations: 162 kB / 25.61 MB, free: 8.578 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 0.9251/0.9251, allocations: 177 MB / 205.9 MB, free: 4.434 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.1595/0.1595, allocations: 34.88 MB / 297.4 MB, free: 13.31 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.975e-05, allocations: 8.094 kB / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002709/0.002729, allocations: 1.752 MB / 381.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004239, allocations: 0.9985 MB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.507e-05/0.004324, allocations: 0 / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.004623, allocations: 43.75 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.004933, allocations: 107.4 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.005135, allocations: 83.66 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.005303, allocations: 103.6 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.005421, allocations: 11.98 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.005552, allocations: 51.89 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.005646, allocations: 27.91 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.005666, allocations: 4 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.005766, allocations: 51.84 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.005824, allocations: 23.86 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.005866, allocations: 19.94 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.006061, allocations: 103.6 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006064, allocations: 0 / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006065, allocations: 4 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.00607, allocations: 0 / 383.5 MB, free: 19.24 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.00039/0.00646, allocations: 467.7 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.006487, allocations: 8.031 kB / 383.9 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.006518, allocations: 20.84 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.006626, allocations: 157.2 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.006639, allocations: 4.375 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.006655, allocations: 4.359 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.815e-05/0.006733, allocations: 62.94 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006741, allocations: 192 / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.006747, allocations: 4.375 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.006752, allocations: 3.938 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.006774, allocations: 11.98 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.006949, allocations: 264.4 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.971e-05/0.007019, allocations: 51.09 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.007036, allocations: 19.67 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.007046, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/0.007111, allocations: 64.98 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.007111, allocations: 4 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002642/0.007376, allocations: 149.4 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.007393, allocations: 51.41 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.007479, allocations: 256.9 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.007486, allocations: 29.7 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.007519, allocations: 158.8 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.007538, allocations: 23.84 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.007563, allocations: 31.36 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.007606, allocations: 0.4962 MB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.007619, allocations: 8 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.00764, allocations: 39.34 kB / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.007674, allocations: 43.3 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007674, allocations: 384 / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.213e-05/0.007747, allocations: 93.52 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.007756, allocations: 4 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.00776, allocations: 0 / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.007768, allocations: 4 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.294e-05/0.007821, allocations: 23.92 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.007824, allocations: 0 / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.007849, allocations: 12.03 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.007855, allocations: 0 / 386 MB, free: 16.5 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 4.472e-05/0.0079, allocations: 160.6 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.007913, allocations: 19.84 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.008013, allocations: 99.06 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008015, allocations: 4 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.008017, allocations: 0 / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.008021, allocations: 3.984 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.008205, allocations: 369.5 kB / 386.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008206, allocations: 4.031 kB / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.008225, allocations: 8 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008227, allocations: 4 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.008233, allocations: 7.984 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.008234, allocations: 3.938 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008235, allocations: 3.938 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.396e-05/0.008319, allocations: 259.6 kB / 386.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.008329, allocations: 7.953 kB / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.008343, allocations: 0 / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/0.008378, allocations: 8 kB / 386.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.0084, allocations: 7.984 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.00841, allocations: 8 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.008452, allocations: 175.1 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008452, allocations: 0 / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.008611, allocations: 24 kB / 387.2 MB, free: 15.26 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.0007848/0.009396, allocations: 430.8 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.009481, allocations: 43.61 kB / 387.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009482, allocations: 0 / 387.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.00951, allocations: 35.72 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.009713, allocations: 39.91 kB / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.009968, allocations: 233.4 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.738e-05/0.009996, allocations: 75.33 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.01003, allocations: 21.27 kB / 388 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.01008, allocations: 86.19 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01008, allocations: 0 / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003119/0.0132, allocations: 2.079 MB / 390.2 MB, free: 12.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.229943299200386]