Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001897/0.001897, allocations: 99.53 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.001993/0.001993, allocations: 160.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.566/1.566, allocations: 177 MB / 204.4 MB, free: 5.605 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.3483/0.3483, allocations: 34.26 MB / 295.2 MB, free: 0.6523 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.94e-05, allocations: 2.312 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003582/0.003611, allocations: 1.926 MB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.00583, allocations: 1.04 MB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.00594, allocations: 3.938 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.006277, allocations: 43.64 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.006661, allocations: 99.47 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.006925, allocations: 99.58 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.007173, allocations: 151.4 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.007284, allocations: 29.78 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.007431, allocations: 71.81 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.007536, allocations: 39.83 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.007582, allocations: 8 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.007698, allocations: 47.92 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.007768, allocations: 27.91 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.007836, allocations: 27.86 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.00814, allocations: 155.4 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.008144, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.008145, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.008149, allocations: 4 kB / 381 MB, free: 15.04 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007839/0.008933, allocations: 0.501 MB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.008974, allocations: 8.031 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.00905, allocations: 32.73 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.009354, allocations: 177.1 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.009371, allocations: 4.375 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.009398, allocations: 8.375 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.009903, allocations: 146.8 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.009914, allocations: 4.188 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.009927, allocations: 384 / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.009937, allocations: 3.938 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.01008, allocations: 43.97 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.01086, allocations: 0.6067 MB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.0112, allocations: 87.08 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.0113, allocations: 35.67 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.01132, allocations: 4 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.01155, allocations: 110.7 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.01156, allocations: 0 / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004365/0.01199, allocations: 141.4 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.01204, allocations: 51.41 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.01234, allocations: 271.1 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.01238, allocations: 29.7 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01252, allocations: 166.8 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.01255, allocations: 23.8 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.01262, allocations: 47.31 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002872/0.01291, allocations: 0.504 MB / 384 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.01299, allocations: 35.92 kB / 384.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.01311, allocations: 73.42 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.01331, allocations: 106.3 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01331, allocations: 0 / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002906/0.0136, allocations: 133.5 kB / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.01362, allocations: 8 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01363, allocations: 0 / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.01365, allocations: 4 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01376, allocations: 23.92 kB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.01377, allocations: 4 kB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.01384, allocations: 11.94 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.01385, allocations: 4 kB / 384.4 MB, free: 11.37 MB / 362.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 0.0001622/0.01401, allocations: 180.4 kB / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.01405, allocations: 15.91 kB / 384.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.01438, allocations: 119.2 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.01439, allocations: 4 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01439, allocations: 3.938 kB / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.0144, allocations: 3.984 kB / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.01462, allocations: 176.4 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.01462, allocations: 4 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.01471, allocations: 15.98 kB / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.01471, allocations: 0 / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.01473, allocations: 4 kB / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01473, allocations: 0 / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.01474, allocations: 8 kB / 384.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.01514, allocations: 196.2 kB / 385.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.01518, allocations: 11.91 kB / 385.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.01521, allocations: 0 / 385.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.01527, allocations: 11.98 kB / 385.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.01532, allocations: 7.984 kB / 385.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.01534, allocations: 0 / 385.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.01551, allocations: 187.2 kB / 385.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01551, allocations: 0 / 385.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01576, allocations: 31.92 kB / 385.4 MB, free: 10.34 MB / 362.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.002921/0.01869, allocations: 436.6 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.01896, allocations: 83.53 kB / 385.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01897, allocations: 0 / 385.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.01908, allocations: 47.59 kB / 385.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.01945, allocations: 46.55 kB / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.0201, allocations: 270.1 kB / 386.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.02022, allocations: 102.1 kB / 386.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.02028, allocations: 13.48 kB / 386.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.02033, allocations: 20.5 kB / 386.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02033, allocations: 0 / 386.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of Templates: time 0.006276/0.02661, allocations: 2.048 MB / 388.4 MB, free: 7.406 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.94435378711205]