Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.0009458/0.0009458, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001166/0.001166, allocations: 173 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.086/1.086, allocations: 158.6 MB / 186 MB, free: 2.547 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.157/0.157, allocations: 32.37 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.703e-05, allocations: 10.25 kB / 347.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002161/0.002188, allocations: 1.691 MB / 349.4 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009263/0.003114, allocations: 0.7765 MB / 350.2 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.003203, allocations: 3.938 kB / 350.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.003536, allocations: 67.66 kB / 350.3 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.003762, allocations: 63.69 kB / 350.3 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.003944, allocations: 79.75 kB / 350.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.004081, allocations: 103.6 kB / 350.5 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.004126, allocations: 15.92 kB / 350.5 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.00421, allocations: 47.84 kB / 350.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.004294, allocations: 47.88 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.00431, allocations: 0 / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.004376, allocations: 27.98 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.004426, allocations: 19.94 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.004465, allocations: 19.91 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.004619, allocations: 87.62 kB / 350.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004621, allocations: 0 / 350.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004622, allocations: 0 / 350.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.004627, allocations: 4 kB / 350.8 MB, free: 6.625 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004056/0.005033, allocations: 432 kB / 351.2 MB, free: 6.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.005072, allocations: 8.031 kB / 351.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.00513, allocations: 8.891 kB / 351.2 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.005282, allocations: 156.4 kB / 351.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.005301, allocations: 384 / 351.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.005313, allocations: 4.375 kB / 351.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.005439, allocations: 58.88 kB / 351.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005447, allocations: 3.938 kB / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.005456, allocations: 4 kB / 351.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.005466, allocations: 4 kB / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.288e-05/0.005499, allocations: 11.98 kB / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.005625, allocations: 132.7 kB / 351.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.005735, allocations: 51.11 kB / 351.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.005761, allocations: 11.69 kB / 351.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.005774, allocations: 3.984 kB / 351.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.179e-05/0.005866, allocations: 72.94 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.005867, allocations: 0 / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001764/0.006043, allocations: 89.56 kB / 351.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.006077, allocations: 51.41 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.006181, allocations: 224.1 kB / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.00619, allocations: 25.7 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.006224, allocations: 154.8 kB / 352.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.006252, allocations: 11.91 kB / 352.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.006281, allocations: 31.36 kB / 352.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.006332, allocations: 0.4923 MB / 352.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.006352, allocations: 4 kB / 352.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.006377, allocations: 27.38 kB / 352.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.006422, allocations: 39.61 kB / 352.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006424, allocations: 0 / 352.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.148e-05/0.006496, allocations: 77.58 kB / 352.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006508, allocations: 4 kB / 353 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.006514, allocations: 3.938 kB / 353 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.006528, allocations: 4 kB / 353 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.006589, allocations: 12 kB / 353 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.006595, allocations: 3.984 kB / 353 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.006622, allocations: 4 kB / 353 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.006627, allocations: 0 / 353 MB, free: 4.215 MB / 282.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 4.94e-05/0.006676, allocations: 168.5 kB / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.006689, allocations: 15.91 kB / 353.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.006789, allocations: 89.95 kB / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006791, allocations: 0 / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.006794, allocations: 0 / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.006799, allocations: 0 / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.776e-05/0.006866, allocations: 144.6 kB / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006867, allocations: 0 / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.006882, allocations: 7.984 kB / 353.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006883, allocations: 4 kB / 353.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.00689, allocations: 4 kB / 353.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.006891, allocations: 3.938 kB / 353.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006892, allocations: 3.938 kB / 353.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.423e-05/0.006966, allocations: 116.3 kB / 353.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.006983, allocations: 11.95 kB / 353.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.006998, allocations: 0 / 353.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.007016, allocations: 4.125 kB / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.007048, allocations: 7.984 kB / 353.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.007059, allocations: 4 kB / 353.6 MB, free: 3.566 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.007108, allocations: 164 kB / 353.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007108, allocations: 0 / 353.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.007249, allocations: 20 kB / 353.7 MB, free: 3.387 MB / 282.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.0007491/0.007999, allocations: 392.5 kB / 354.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.008099, allocations: 43.61 kB / 354.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0081, allocations: 0 / 354.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.008132, allocations: 23.67 kB / 354.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.008337, allocations: 33.16 kB / 354.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.008656, allocations: 189.3 kB / 354.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.633e-05/0.008682, allocations: 67.33 kB / 354.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.007e-05/0.008712, allocations: 8.5 kB / 354.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.008737, allocations: 16.55 kB / 354.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.008738, allocations: 4 kB / 354.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of Templates: time 0.002972/0.01171, allocations: 1.623 MB / 356.1 MB, free: 1.059 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.3631386950146407]