Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.0007755/0.0007755, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001241/0.001241, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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.064/1.064, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1625/0.1625, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.734e-05, allocations: 6.312 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002081/0.002108, allocations: 1.606 MB / 349.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000857/0.002965, allocations: 1.048 MB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.003018, allocations: 0 / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.003277, allocations: 31.8 kB / 350.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.003493, allocations: 51.64 kB / 350.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.003665, allocations: 67.78 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.003795, allocations: 55.84 kB / 350.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.003893, allocations: 7.984 kB / 350.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.003948, allocations: 31.91 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.306e-05/0.004041, allocations: 23.86 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.004057, allocations: 0 / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.004146, allocations: 51.91 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.004188, allocations: 15.92 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.004213, allocations: 8 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.004378, allocations: 83.72 kB / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.004382, allocations: 0 / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004383, allocations: 0 / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.004388, allocations: 0 / 350.8 MB, free: 6.348 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003877/0.004776, allocations: 408.2 kB / 351.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.004817, allocations: 15.97 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.004866, allocations: 8.922 kB / 351.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.004995, allocations: 136.4 kB / 351.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.005005, allocations: 384 / 351.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.005033, allocations: 8.375 kB / 351.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.005177, allocations: 100 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005188, allocations: 192 / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.0052, allocations: 8.125 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.005207, allocations: 0 / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.005238, allocations: 11.92 kB / 351.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.005494, allocations: 259.9 kB / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.005674, allocations: 47.03 kB / 351.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.005694, allocations: 11.69 kB / 351.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.005712, allocations: 3.938 kB / 351.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.005734, allocations: 45.41 kB / 351.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.005735, allocations: 0 / 351.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003498/0.006085, allocations: 97.47 kB / 351.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.006116, allocations: 77.11 kB / 352 MB, free: 4.965 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.006212, allocations: 188.2 kB / 352.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.006219, allocations: 25.7 kB / 352.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.006252, allocations: 138.9 kB / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.00627, allocations: 15.84 kB / 352.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.006302, allocations: 27.36 kB / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.006347, allocations: 496.1 kB / 352.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.006363, allocations: 11.98 kB / 352.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.006391, allocations: 53.08 kB / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.006424, allocations: 23.88 kB / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.006425, allocations: 0 / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.467e-05/0.006489, allocations: 65.52 kB / 353 MB, free: 3.871 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.006502, allocations: 7.938 kB / 353 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006506, allocations: 0 / 353 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.00652, allocations: 4 kB / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.006564, allocations: 11.98 kB / 353 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.006569, allocations: 0 / 353 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.006588, allocations: 8.031 kB / 353 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.006593, allocations: 4 kB / 353 MB, free: 3.836 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.477e-05/0.006638, allocations: 152.6 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.006654, allocations: 11.89 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.692e-05/0.006751, allocations: 73.73 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.006753, allocations: 0 / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.006757, allocations: 0 / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.00676, allocations: 0 / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.006932, allocations: 309.4 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.006934, allocations: 0 / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.006962, allocations: 15.98 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.006964, allocations: 4 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.006971, allocations: 4.188 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.006974, allocations: 7.938 kB / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.006975, allocations: 0 / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.982e-05/0.007045, allocations: 203.8 kB / 353.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.007052, allocations: 7.953 kB / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.007064, allocations: 4 kB / 353.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.842e-05/0.007093, allocations: 7.984 kB / 353.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.007128, allocations: 0 / 353.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.007131, allocations: 0 / 353.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.842e-05/0.00717, allocations: 151.2 kB / 354 MB, free: 2.828 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00717, allocations: 0 / 354 MB, free: 2.828 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.007341, allocations: 27.92 kB / 354 MB, free: 2.801 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009834/0.008325, allocations: 427.7 kB / 354.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.008463, allocations: 31.61 kB / 354.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.008465, allocations: 0 / 354.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.008488, allocations: 23.69 kB / 354.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.008725, allocations: 19.92 kB / 354.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.00911, allocations: 158.2 kB / 354.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.009144, allocations: 59.34 kB / 354.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.71e-05/0.009191, allocations: 8 kB / 354.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.00923, allocations: 24.48 kB / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.009232, allocations: 0 / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of Templates: time 0.003767/0.013, allocations: 1.529 MB / 356.2 MB, free: 0.5859 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.109642561059445]