Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001881/0.001881, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001655/0.001655, allocations: 156.9 kB / 24.27 MB, free: 168 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.501/1.501, allocations: 177 MB / 204.4 MB, free: 5.629 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.3708/0.3708, allocations: 34.25 MB / 295.2 MB, free: 0.6602 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.461e-05, allocations: 2.312 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003733/0.003767, allocations: 1.721 MB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.005817, allocations: 0.9853 MB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.005916, allocations: 0 / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.006278, allocations: 39.69 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.006787, allocations: 99.53 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.007117, allocations: 75.62 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.00741, allocations: 111.5 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.007544, allocations: 8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.007724, allocations: 51.89 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.00785, allocations: 31.84 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.007879, allocations: 8 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.008054, allocations: 43.92 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.98e-05/0.008154, allocations: 23.91 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.008229, allocations: 19.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.008579, allocations: 115.6 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.008584, allocations: 0 / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.008585, allocations: 3.938 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.008596, allocations: 4 kB / 380.6 MB, free: 15.47 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.0008559/0.009452, allocations: 337.6 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.009498, allocations: 8.031 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.009583, allocations: 20.84 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.009955, allocations: 154.3 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.009976, allocations: 8.312 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.01, allocations: 384 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.01022, allocations: 66.22 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01023, allocations: 192 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.01025, allocations: 384 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01026, allocations: 3.938 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.01035, allocations: 19.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.01085, allocations: 236.5 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.01108, allocations: 66.61 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.01115, allocations: 16.86 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.01117, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.01137, allocations: 75.31 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.01137, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007232/0.01209, allocations: 177.4 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.01215, allocations: 55.41 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.0124, allocations: 202.7 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.01243, allocations: 29.7 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.01252, allocations: 108.1 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.01256, allocations: 23.78 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.01261, allocations: 37.58 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.0128, allocations: 322.8 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-05/0.01289, allocations: 23.98 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.01298, allocations: 37.7 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.01311, allocations: 53.72 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01311, allocations: 0 / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002356/0.01334, allocations: 117.5 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.01336, allocations: 6.969 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.01337, allocations: 3.984 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.01339, allocations: 4 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.0135, allocations: 15.98 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.0135, allocations: 3.938 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.01356, allocations: 4 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.01357, allocations: 160 / 382.8 MB, free: 13.09 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.0001366/0.0137, allocations: 129.8 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.01374, allocations: 23.88 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.01403, allocations: 123 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01404, allocations: 0 / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.01404, allocations: 384 / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01405, allocations: 0 / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.01458, allocations: 354.9 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.01458, allocations: 4 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.01463, allocations: 12 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01463, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01464, allocations: 7.984 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01465, allocations: 4.031 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01465, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.01497, allocations: 216.2 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.01499, allocations: 11.91 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.01502, allocations: 7.984 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.0151, allocations: 4 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.01515, allocations: 3.984 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.01516, allocations: 4 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.01534, allocations: 159.2 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01534, allocations: 0 / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.01562, allocations: 23.94 kB / 383.9 MB, free: 11.95 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.00234/0.01796, allocations: 485.9 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.01819, allocations: 67.84 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01819, allocations: 0 / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.227e-05/0.01827, allocations: 27.98 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.01868, allocations: 31.97 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.01925, allocations: 233.5 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.01937, allocations: 96.28 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.01943, allocations: 17.41 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.01948, allocations: 24.48 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01948, allocations: 0 / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.00571/0.02519, allocations: 1.863 MB / 386.7 MB, free: 9.262 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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: 4.797234388999641]