Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001026/0.001026, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009506/0.0009506, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 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 0.9532/0.9532, allocations: 177 MB / 205.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2686/0.2686, allocations: 34.87 MB / 296.6 MB, free: 472 kB / 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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.643e-05, allocations: 8.5 kB / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002398/0.002424, allocations: 1.622 MB / 380.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003641, allocations: 1.285 MB / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.003704, allocations: 0 / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.00392, allocations: 23.8 kB / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.004212, allocations: 91.48 kB / 381.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.004465, allocations: 115.6 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.00462, allocations: 71.77 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.004715, allocations: 11.86 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.004773, allocations: 35.84 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.004867, allocations: 27.22 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.00488, allocations: 3.938 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.005016, allocations: 91.88 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.00507, allocations: 15.92 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.005098, allocations: 8 kB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.005313, allocations: 143.5 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005316, allocations: 0 / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005317, allocations: 4 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.005322, allocations: 0 / 382.3 MB, free: 14.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004153/0.005737, allocations: 424 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.005771, allocations: 8.031 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.005818, allocations: 12.89 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.005965, allocations: 136.5 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.005973, allocations: 384 / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.005993, allocations: 8.312 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.006129, allocations: 100 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.00614, allocations: 8.125 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.00615, allocations: 8.375 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006157, allocations: 384 / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.006185, allocations: 11.92 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.006464, allocations: 275.8 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.006628, allocations: 46.98 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.006653, allocations: 11.69 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.006671, allocations: 0 / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.006696, allocations: 41.39 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.006698, allocations: 0 / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003744/0.007072, allocations: 105.4 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.007116, allocations: 81.11 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.007242, allocations: 193.9 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.007253, allocations: 29.7 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.007308, allocations: 146.9 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.007327, allocations: 11.86 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.007356, allocations: 23.38 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.00746, allocations: 0.4923 MB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.00749, allocations: 4 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.007528, allocations: 61 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.007566, allocations: 19.69 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007567, allocations: 4.031 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.708e-05/0.007644, allocations: 61.62 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.007657, allocations: 4 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007662, allocations: 0 / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.007674, allocations: 4 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.00772, allocations: 16.17 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.007725, allocations: 0 / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.007751, allocations: 15.89 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.007755, allocations: 0 / 384.6 MB, free: 12.24 MB / 362.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 6.48e-05/0.00782, allocations: 156.6 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.007843, allocations: 19.89 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.007953, allocations: 62.14 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007954, allocations: 0 / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.007956, allocations: 0 / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007959, allocations: 7.938 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.008189, allocations: 321.3 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008191, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.008224, allocations: 11.98 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.008227, allocations: 4 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.008233, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008234, allocations: 4 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008236, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.008343, allocations: 212 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.008355, allocations: 11.95 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.008367, allocations: 0 / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.148e-05/0.008408, allocations: 11.97 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.008432, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.008436, allocations: 4 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.192e-05/0.008498, allocations: 149.8 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008498, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.008688, allocations: 43.86 kB / 385.6 MB, free: 11.17 MB / 362.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.000951/0.009639, allocations: 479.7 kB / 386.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.923e-05/0.009728, allocations: 31.67 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.00973, allocations: 3.938 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.009753, allocations: 27.67 kB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.009954, allocations: 23.92 kB / 386.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.01023, allocations: 165.9 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.534e-05/0.01027, allocations: 67.34 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.01031, allocations: 11.98 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.01035, allocations: 16.5 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01035, allocations: 0 / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.003374/0.01372, allocations: 1.843 MB / 388.3 MB, free: 8.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.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.066653424175456]