Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001551/0.001551, allocations: 80.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.001795/0.001795, allocations: 164.6 kB / 25.61 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 0.9918/0.9918, allocations: 177 MB / 205.9 MB, free: 4.457 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.1545/0.1545, allocations: 34.88 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.801e-05, allocations: 4.203 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.005455/0.005473, allocations: 1.949 MB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.006813, allocations: 1.032 MB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.006917, allocations: 0 / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.007231, allocations: 39.7 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.007523, allocations: 103.3 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.007729, allocations: 99.58 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.00791, allocations: 155.5 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.01105, allocations: 21.8 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.0112, allocations: 83.75 kB / 383.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.01131, allocations: 39.81 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.01134, allocations: 8 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.01144, allocations: 47.92 kB / 383.7 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.0115, allocations: 27.91 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.01155, allocations: 31.86 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.01177, allocations: 127.5 kB / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01177, allocations: 0 / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01178, allocations: 0 / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.01178, allocations: 0 / 383.8 MB, free: 18.9 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004974/0.01228, allocations: 0.5013 MB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.01231, allocations: 8.031 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.01236, allocations: 28.84 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.01253, allocations: 173.1 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.01254, allocations: 8.312 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.01256, allocations: 12.38 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.01272, allocations: 127.7 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.01273, allocations: 8.125 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.01274, allocations: 8.359 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.01275, allocations: 7.938 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.01279, allocations: 23.92 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.01321, allocations: 0.545 MB / 385.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.01341, allocations: 67.09 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.01344, allocations: 27.66 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.01345, allocations: 0 / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.01357, allocations: 98.69 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.01357, allocations: 4 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001987/0.01377, allocations: 105.5 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.01379, allocations: 55.41 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/0.01693, allocations: 248.8 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.01694, allocations: 25.7 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.017, allocations: 166.8 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.01702, allocations: 23.78 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.01706, allocations: 39.34 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.01711, allocations: 0.4962 MB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.01714, allocations: 11.98 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.19e-05/0.01718, allocations: 66.05 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.01725, allocations: 82.28 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01725, allocations: 3.938 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001297/0.01738, allocations: 105.4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.01739, allocations: 8 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.0174, allocations: 4.125 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.01741, allocations: 4 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.01748, allocations: 23.98 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.01749, allocations: 3.984 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.01753, allocations: 15.92 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.01754, allocations: 3.938 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.446e-05/0.01761, allocations: 171.5 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.01763, allocations: 19.91 kB / 387.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.01777, allocations: 99.53 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01778, allocations: 4 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01778, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01778, allocations: 3.938 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.01788, allocations: 137.2 kB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01789, allocations: 0 / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.01794, allocations: 15.98 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01794, allocations: 3.938 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.01795, allocations: 4 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.01795, allocations: 0 / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01795, allocations: 0 / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.01811, allocations: 160.2 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.01813, allocations: 19.88 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.01815, allocations: 4 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.01818, allocations: 7.938 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.01822, allocations: 7.984 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.01823, allocations: 7.984 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.01828, allocations: 163.1 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01828, allocations: 0 / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.0185, allocations: 31.92 kB / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009543/0.01946, allocations: 374.3 kB / 388.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.01957, allocations: 55.53 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01957, allocations: 0 / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.01961, allocations: 35.84 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/0.02287, allocations: 39.97 kB / 388.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.0233, allocations: 261.8 kB / 388.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.02334, allocations: 67.78 kB / 388.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.973e-05/0.0234, allocations: 21.47 kB / 388.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.02349, allocations: 98.17 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02349, allocations: 4 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of Templates: time 0.00778/0.03127, allocations: 2.269 MB / 391 MB, free: 11.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.3687340929172933]