Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.001048/0.001048, allocations: 91.5 kB / 21.19 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.001645/0.001645, 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 1.071/1.071, allocations: 177 MB / 204.8 MB, free: 5.605 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.2887/0.2887, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.853e-05, allocations: 7.156 kB / 378.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002419/0.002448, allocations: 1.71 MB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003699, allocations: 1.005 MB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.003777, allocations: 4 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.004109, allocations: 63.67 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.004421, allocations: 107.5 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.004598, allocations: 75.66 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.004768, allocations: 111.6 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.00481, allocations: 4.234 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.004904, allocations: 63.75 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.482e-05/0.004999, allocations: 43.89 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.005016, allocations: 4 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.005099, allocations: 35.92 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.005157, allocations: 23.86 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.005196, allocations: 15.94 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.005372, allocations: 83.72 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005374, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005376, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.00538, allocations: 0 / 382.2 MB, free: 14.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004359/0.005816, allocations: 443.9 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.005855, allocations: 12.03 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.005903, allocations: 16.78 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.00608, allocations: 153.1 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.006098, allocations: 4.375 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.006111, allocations: 4.375 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.006225, allocations: 54.94 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.006234, allocations: 4.172 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.006244, allocations: 4.312 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.006252, allocations: 7.938 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.101e-05/0.006283, allocations: 11.98 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.006428, allocations: 140.7 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.006528, allocations: 47.05 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.006558, allocations: 23.69 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.006572, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.86e-05/0.00667, allocations: 65.05 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.006671, allocations: 0 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00018/0.006851, allocations: 89.52 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.006885, allocations: 55.34 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.007025, allocations: 238.4 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.007038, allocations: 25.7 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.007094, allocations: 154.9 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.007124, allocations: 11.84 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.007155, allocations: 27.38 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.00727, allocations: 0.4962 MB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.007289, allocations: 7.984 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.00732, allocations: 27.38 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/0.007382, allocations: 39.3 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.007386, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.512e-05/0.007481, allocations: 73.64 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.007495, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007499, allocations: 3.938 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.007516, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.007597, allocations: 11.94 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.007602, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.007636, allocations: 11.95 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.007643, allocations: 0 / 384.4 MB, free: 12.18 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 (7): * Single equations (assignments): 7 * 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.314e-05/0.007726, allocations: 160.6 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.007743, allocations: 15.98 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.007888, allocations: 87.14 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.00789, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.007897, allocations: 7.938 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.0079, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.008006, allocations: 148.6 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.008008, allocations: 3.938 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.008031, allocations: 7.984 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.008034, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.008041, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008043, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.008044, allocations: 8 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.008149, allocations: 116.3 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.008164, allocations: 11.95 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.00818, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.008201, allocations: 7.938 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.008234, allocations: 7.922 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.008245, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.403e-05/0.008319, allocations: 167.2 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00832, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.008468, allocations: 19.94 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007872/0.009256, allocations: 379.4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.009364, allocations: 39.66 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009366, allocations: 64 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.009396, allocations: 27.62 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.009602, allocations: 27.97 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.009967, allocations: 202.1 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.739e-05/0.01, allocations: 63.34 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.557e-05/0.01004, allocations: 20.72 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.01007, allocations: 16.5 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01007, allocations: 0 / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of Templates: time 0.003495/0.01357, allocations: 1.643 MB / 387.6 MB, free: 9.031 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.333698123693466]