Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001427/0.001427, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001523/0.001523, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9689/0.9689, allocations: 177 MB / 204.8 MB, free: 5.59 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.2775/0.2775, allocations: 34.86 MB / 296.3 MB, free: 0.5273 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.551e-05, allocations: 7.297 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004701/0.004736, allocations: 1.763 MB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.006241, allocations: 1.011 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.006337, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.006669, allocations: 47.64 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.007074, allocations: 91.53 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.007359, allocations: 87.59 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.007566, allocations: 119.5 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.00769, allocations: 4 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.0078, allocations: 51.84 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.123e-05/0.007891, allocations: 31.89 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.007913, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.008026, allocations: 43.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.008079, allocations: 19.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.008124, allocations: 19.92 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.008321, allocations: 107.5 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.008325, allocations: 0 / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008327, allocations: 4 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.008332, allocations: 0 / 382.3 MB, free: 14.57 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.0005335/0.008866, allocations: 455.8 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.008905, allocations: 8.031 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.008961, allocations: 16.88 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.009158, allocations: 152.9 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.009178, allocations: 384 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.009203, allocations: 8.312 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.009352, allocations: 62.94 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.009364, allocations: 192 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.009378, allocations: 12.38 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.00939, allocations: 3.938 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.86e-05/0.009428, allocations: 11.98 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.009819, allocations: 283.8 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.009961, allocations: 51.11 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.009996, allocations: 19.69 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.01001, allocations: 3.938 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.01013, allocations: 68.98 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.01013, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004712/0.0106, allocations: 165.3 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.01064, allocations: 55.41 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.01081, allocations: 233.9 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.01083, allocations: 29.7 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.0109, allocations: 158.8 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.01093, allocations: 23.8 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.01099, allocations: 31.36 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.01113, allocations: 0.4962 MB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.01117, allocations: 11.94 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.01121, allocations: 35.36 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.339e-05/0.01128, allocations: 55.34 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01128, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.01143, allocations: 93.52 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01145, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01145, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01147, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.01156, allocations: 15.98 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01156, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.0116, allocations: 11.89 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.01161, allocations: 4.031 kB / 384.8 MB, free: 11.8 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 8.532e-05/0.0117, allocations: 160.6 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.01172, allocations: 15.89 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.0119, allocations: 107.1 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.01191, allocations: 3.984 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01191, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01192, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.01227, allocations: 405.3 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01227, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.01231, allocations: 16.03 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01231, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.01232, allocations: 4 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.01232, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01232, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.01251, allocations: 267.6 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01253, allocations: 15.89 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.01255, allocations: 4 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-05/0.01262, allocations: 0 / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.01265, allocations: 11.98 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.01267, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.78e-05/0.01277, allocations: 180.2 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01277, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.01302, allocations: 31.92 kB / 386 MB, free: 10.52 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.001081/0.01411, allocations: 429.8 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.01426, allocations: 55.53 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01426, allocations: 0 / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.01431, allocations: 31.67 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.01462, allocations: 32.11 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.01504, allocations: 225.8 kB / 386.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.164e-05/0.01509, allocations: 67.34 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.01513, allocations: 21.27 kB / 386.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.01517, allocations: 20.5 kB / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01517, allocations: 0 / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of Templates: time 0.00462/0.01979, allocations: 2.011 MB / 388.9 MB, free: 7.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.3124933931976557]