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.0007047/0.0007047, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001738, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006858/0.0006858, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009772/0.001663, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.976/0.976, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09984/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2524/0.2524, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02559/0.278, allocations: 13.1 MB / 291.5 MB, free: 7.324 MB / 282.7 MB " [Timeout remaining time 180] 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.054e-06/2.054e-06, allocations: 0 / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.57e-05, allocations: 4.562 kB / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.01045/0.01048, allocations: 2.016 MB / 294.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00516/0.01564, allocations: 1.06 MB / 296 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.01576, allocations: 0 / 296 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.01606, allocations: 47.58 kB / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.01649, allocations: 103.3 kB / 296.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.01684, allocations: 99.53 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.01712, allocations: 155.4 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.01724, allocations: 22.45 kB / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.01747, allocations: 107.6 kB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.0176, allocations: 47.81 kB / 296.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.01762, allocations: 4 kB / 296.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.01775, allocations: 47.92 kB / 296.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.01782, allocations: 19.94 kB / 296.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.01787, allocations: 23.88 kB / 296.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.01814, allocations: 119.5 kB / 296.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.01816, allocations: 0 / 296.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.01816, allocations: 0 / 296.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.01817, allocations: 4 kB / 296.8 MB, free: 2.234 MB / 282.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.0006222/0.01879, allocations: 410.5 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.01883, allocations: 12.02 kB / 297.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.01888, allocations: 8.938 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.01912, allocations: 166.3 kB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.01914, allocations: 8.375 kB / 297.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.01917, allocations: 4.375 kB / 297.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.01937, allocations: 143.7 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.01938, allocations: 7.938 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.01939, allocations: 0 / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.0194, allocations: 4 kB / 297.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.656e-05/0.01945, allocations: 22.75 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.01983, allocations: 378.1 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.02002, allocations: 101.2 kB / 298 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.02005, allocations: 24.83 kB / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.02006, allocations: 4 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.0202, allocations: 95.91 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.0202, allocations: 0 / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001495/0.02035, allocations: 69.61 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.02038, allocations: 55.41 kB / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.02051, allocations: 189.6 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.02053, allocations: 25.7 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.02059, allocations: 112 kB / 298.6 MB, free: 256 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.02061, allocations: 31.72 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.02066, allocations: 33.69 kB / 298.6 MB, free: 184 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.02077, allocations: 334.7 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.0208, allocations: 14.77 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.02084, allocations: 51.16 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.02092, allocations: 69.84 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02092, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001302/0.02105, allocations: 96.42 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.02106, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.02107, allocations: 0 / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.02108, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.02118, allocations: 27.92 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.02118, allocations: 0 / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.02123, allocations: 11.95 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.02124, allocations: 8 kB / 299.2 MB, free: 15.52 MB / 298.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 7.699e-05/0.02131, allocations: 124.5 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.02133, allocations: 11.98 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.02146, allocations: 83.59 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.02147, allocations: 4 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02147, allocations: 0 / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.02147, allocations: 0 / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.02158, allocations: 105.8 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.02159, allocations: 7.922 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.02165, allocations: 15.98 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.02167, allocations: 15.84 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.02167, allocations: 0 / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.02168, allocations: 4 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.02168, allocations: 4 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02168, allocations: 0 / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.02184, allocations: 122.6 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.02186, allocations: 0 / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.0219, allocations: 8 kB / 299.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.02193, allocations: 7.984 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.02194, allocations: 0 / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.115e-05/0.022, allocations: 65.39 kB / 299.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.022, allocations: 0 / 299.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.02221, allocations: 31.89 kB / 299.8 MB, free: 14.87 MB / 298.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.001729/0.02394, allocations: 0.5415 MB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.02409, allocations: 56.45 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.0241, allocations: 4.125 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.02417, allocations: 32.84 kB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.02448, allocations: 253 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.02512, allocations: 269.7 kB / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.374e-05/0.02517, allocations: 71.83 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.372e-05/0.02522, allocations: 17.48 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.02531, allocations: 75.36 kB / 301.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02531, allocations: 0 / 301.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Templates: time 0.005027/0.03034, allocations: 2.229 MB / 303.4 MB, free: 11.58 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.826710476540029]