Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3851/0.3851, allocations: 34.25 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.291e-05, allocations: 6.25 kB / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00352/0.003553, allocations: 1.939 MB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.00534, allocations: 1.036 MB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.005451, allocations: 3.938 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.005767, allocations: 51.58 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.006163, allocations: 99.47 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.006449, allocations: 95.58 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.00669, allocations: 155.5 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.006809, allocations: 21.8 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.006953, allocations: 71.81 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.007068, allocations: 47.81 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.007098, allocations: 8 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.007209, allocations: 47.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.00727, allocations: 27.86 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.007324, allocations: 31.91 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.007574, allocations: 127.4 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.007578, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007579, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.007583, allocations: 0 / 382.3 MB, free: 14.53 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.0007129/0.008296, allocations: 0.5051 MB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.008344, allocations: 8.031 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.008408, allocations: 32.8 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.008637, allocations: 173.1 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.00866, allocations: 8.375 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.008684, allocations: 4.375 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.008892, allocations: 143.6 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.008904, allocations: 7.922 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.008915, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.008924, allocations: 4 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.008978, allocations: 15.98 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.00951, allocations: 0.5605 MB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.009718, allocations: 67.09 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.009756, allocations: 23.67 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.009776, allocations: 7.984 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.009909, allocations: 90.73 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.009911, allocations: 4 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002423/0.01015, allocations: 101.5 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.01018, allocations: 55.41 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.01037, allocations: 247 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.01039, allocations: 29.7 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.01049, allocations: 162.8 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.01052, allocations: 39.66 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.01057, allocations: 31.38 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.01079, allocations: 0.5039 MB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.01081, allocations: 11.98 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.01087, allocations: 58.41 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.01097, allocations: 86.34 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.01098, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001587/0.01113, allocations: 101.5 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01115, allocations: 7.984 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.01116, allocations: 4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.01118, allocations: 0 / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.01126, allocations: 24.06 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.01126, allocations: 7.938 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.01132, allocations: 15.92 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01133, allocations: 4 kB / 385.4 MB, free: 11.12 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.0001019/0.01143, allocations: 168.5 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.01146, allocations: 15.91 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.01163, allocations: 99.12 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01163, allocations: 3.938 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01163, allocations: 0 / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01164, allocations: 4 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.01179, allocations: 137.1 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01179, allocations: 0 / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.01186, allocations: 15.98 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01186, allocations: 0 / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01187, allocations: 4 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01187, allocations: 4 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01188, allocations: 0 / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.01217, allocations: 156.7 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.0122, allocations: 15.84 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.01222, allocations: 4 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.01226, allocations: 12.02 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.0123, allocations: 7.984 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.01231, allocations: 4 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.01241, allocations: 163.1 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01241, allocations: 0 / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.01264, allocations: 24 kB / 386.3 MB, free: 10.24 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.001198/0.01384, allocations: 405.9 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.01398, allocations: 51.59 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.01398, allocations: 4 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.01404, allocations: 35.55 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.01431, allocations: 42.48 kB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.01478, allocations: 250.2 kB / 387 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.548e-05/0.01484, allocations: 71.83 kB / 387.1 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.926e-05/0.01489, allocations: 9.5 kB / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.015, allocations: 106.2 kB / 387.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01501, allocations: 0 / 387.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of Templates: time 0.005795/0.0208, allocations: 2.251 MB / 389.5 MB, free: 7.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.6115081100724638]