Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.001832/0.001832, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.001995/0.001995, allocations: 156.8 kB / 24.27 MB, free: 156 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 1.588/1.588, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.4609/0.4609, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.691e-05/3.844e-05, allocations: 7.938 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.00379/0.003829, allocations: 1.727 MB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.006107, allocations: 1.009 MB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.006191, allocations: 0 / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.006559, allocations: 43.64 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.006954, allocations: 99.53 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.007178, allocations: 75.66 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.007389, allocations: 107.6 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.007486, allocations: 7.984 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.007624, allocations: 55.83 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/0.007719, allocations: 31.84 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.007743, allocations: 8 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.007853, allocations: 47.91 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.00792, allocations: 19.94 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.00797, allocations: 19.92 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.00822, allocations: 107.6 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.008224, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008225, allocations: 3.938 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.00823, allocations: 0 / 380.7 MB, free: 15.43 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.0008296/0.00906, allocations: 455.6 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.009111, allocations: 11.97 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.009189, allocations: 20.84 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.009512, allocations: 153.1 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.009531, allocations: 384 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.009564, allocations: 4.375 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.009753, allocations: 54.23 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.009768, allocations: 192 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.009782, allocations: 384 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.009792, allocations: 3.938 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.009885, allocations: 19.98 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.01045, allocations: 299.7 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.01068, allocations: 63.16 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.655e-05/0.01074, allocations: 19.69 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.01077, allocations: 7.984 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.01098, allocations: 80.92 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.01098, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007176/0.0117, allocations: 173.4 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.01177, allocations: 51.41 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.01207, allocations: 250.4 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.0121, allocations: 29.7 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.01228, allocations: 158.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.01235, allocations: 35.78 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.01244, allocations: 31.31 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003229/0.01276, allocations: 0.4962 MB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/0.01283, allocations: 23.98 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.01291, allocations: 39.36 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.01305, allocations: 67.31 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01305, allocations: 0 / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002249/0.01327, allocations: 109.9 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.01329, allocations: 4 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.0133, allocations: 4.031 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.01333, allocations: 7.938 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01343, allocations: 16 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.01344, allocations: 4.141 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.01349, allocations: 4 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.0135, allocations: 0 / 383.3 MB, free: 12.55 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 0.0001729/0.01367, allocations: 171 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.0137, allocations: 15.84 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.014, allocations: 119 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.014, allocations: 4 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.01401, allocations: 4 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01401, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.01464, allocations: 416.9 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01465, allocations: 0 / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.01469, allocations: 12 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.0147, allocations: 4 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01471, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.01471, allocations: 7.922 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01471, allocations: 0 / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.01508, allocations: 279.4 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.01511, allocations: 15.94 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.01514, allocations: 0 / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.01521, allocations: 4 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.01527, allocations: 11.98 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.01529, allocations: 4 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.01547, allocations: 175.1 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01547, allocations: 0 / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.01573, allocations: 27.94 kB / 384.5 MB, free: 11.23 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.003505/0.01924, allocations: 487.3 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.01948, allocations: 75.53 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01948, allocations: 0 / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.932e-05/0.01958, allocations: 39.61 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.01998, allocations: 31.97 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/0.02064, allocations: 230.1 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.02079, allocations: 92.3 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.02086, allocations: 21.27 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.02091, allocations: 20.5 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02091, allocations: 0 / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.00597/0.02688, allocations: 1.866 MB / 387.4 MB, free: 8.508 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.341330992989242]