Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.0009082/0.0009082, allocations: 85.8 kB / 21.43 MB, free: 3.043 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.0009693/0.0009693, allocations: 164.2 kB / 24.82 MB, free: 9.227 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.9808/0.9808, allocations: 177 MB / 205.1 MB, free: 5.492 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.2375/0.2375, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.255e-05, allocations: 4.844 kB / 379.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003303/0.003335, allocations: 1.65 MB / 380.9 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.004317, allocations: 0.5292 MB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.004399, allocations: 3.938 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.004738, allocations: 111.6 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.005112, allocations: 119.5 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.005423, allocations: 91.69 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.005614, allocations: 95.67 kB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.005716, allocations: 15.98 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.005804, allocations: 47.88 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.005929, allocations: 67.86 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.005946, allocations: 4 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.006048, allocations: 51.91 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.006103, allocations: 23.92 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.006134, allocations: 11.94 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.006335, allocations: 103.5 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.006339, allocations: 4 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00634, allocations: 0 / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.006344, allocations: 0 / 382.2 MB, free: 14.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004555/0.0068, allocations: 455.8 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.00684, allocations: 8.031 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.006886, allocations: 16.84 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.00704, allocations: 153.2 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.00705, allocations: 8.312 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.007069, allocations: 8.312 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.007182, allocations: 54.95 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.007191, allocations: 192 / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.007199, allocations: 384 / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.00721, allocations: 4.375 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.00724, allocations: 11.92 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.00753, allocations: 276.3 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.458e-05/0.007595, allocations: 43.03 kB / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.007614, allocations: 11.69 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.007637, allocations: 4 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.007904, allocations: 37.39 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.007905, allocations: 0 / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005379/0.008443, allocations: 157.4 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.008471, allocations: 51.41 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.008641, allocations: 267 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.008653, allocations: 25.7 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.008723, allocations: 158.8 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.008755, allocations: 35.73 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.008798, allocations: 31.36 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.008937, allocations: 0.4962 MB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.008953, allocations: 4 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.008972, allocations: 11.98 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.009021, allocations: 31.67 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.009022, allocations: 0 / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001127/0.009135, allocations: 81.7 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.009147, allocations: 4 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.009152, allocations: 80 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.009164, allocations: 0 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.009243, allocations: 23.98 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.009247, allocations: 3.984 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.009272, allocations: 0 / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.009279, allocations: 4 kB / 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 (8): * Single equations (assignments): 8 * 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.743e-05/0.009357, allocations: 164.5 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.009392, allocations: 19.84 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.009536, allocations: 87.08 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009539, allocations: 0 / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.00954, allocations: 4 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.009543, allocations: 0 / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.009886, allocations: 357.5 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.009887, allocations: 0 / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.009938, allocations: 15.98 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.00994, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-06/0.009947, allocations: 4 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009949, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.00995, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.01011, allocations: 239.4 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.01012, allocations: 19.89 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.01013, allocations: 32 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.01019, allocations: 8 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.01022, allocations: 11.98 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.01023, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.351e-05/0.01032, allocations: 175.1 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01032, allocations: 0 / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.01059, allocations: 23.98 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001142/0.01174, allocations: 423.1 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.01184, allocations: 43.59 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.01184, allocations: 4 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.01188, allocations: 27.61 kB / 386.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.01219, allocations: 27.92 kB / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.01259, allocations: 245.5 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.069e-05/0.01264, allocations: 75.27 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.01269, allocations: 16.77 kB / 386.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.01276, allocations: 82.2 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01276, allocations: 0 / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.004067/0.01683, allocations: 1.525 MB / 388.2 MB, free: 8.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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: 2.9001878313720226]