Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.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.001457/0.001457, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001647/0.001647, allocations: 160.9 kB / 24.27 MB, free: 148 kB / 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 1.58/1.58, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3976/0.3976, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.12e-05/4.334e-05, allocations: 6.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003693/0.003737, allocations: 1.599 MB / 378.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.005979, allocations: 1.262 MB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.006054, allocations: 4 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.006345, allocations: 31.83 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.006714, allocations: 83.45 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.00707, allocations: 111.6 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.007246, allocations: 67.78 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.007353, allocations: 11.98 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.007447, allocations: 35.84 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.007571, allocations: 19.98 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.007593, allocations: 4 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.007786, allocations: 99.75 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.007842, allocations: 11.98 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.007895, allocations: 15.92 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.008194, allocations: 147.5 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.008197, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.008197, allocations: 4 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.008203, allocations: 0 / 380.7 MB, free: 15.38 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.0006142/0.008817, allocations: 321.7 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.008859, allocations: 8.031 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.008931, allocations: 8.891 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.009157, allocations: 149.6 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.009167, allocations: 384 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.009198, allocations: 8.312 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.009394, allocations: 85.67 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.009407, allocations: 4.188 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.009418, allocations: 384 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.009423, allocations: 384 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.009526, allocations: 27.91 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.00995, allocations: 228.5 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.01019, allocations: 50.48 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.01025, allocations: 16.95 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.01027, allocations: 3.984 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.0103, allocations: 34.56 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.0103, allocations: 0 / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006608/0.01096, allocations: 157.3 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.01103, allocations: 85.11 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.01122, allocations: 145.7 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.01125, allocations: 25.7 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.01133, allocations: 96.12 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.01135, allocations: 11.91 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.0114, allocations: 17.72 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.01159, allocations: 318.8 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.01167, allocations: 19.98 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.01178, allocations: 67.34 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.01194, allocations: 56.84 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.01194, allocations: 0 / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002146/0.01216, allocations: 85.56 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.01218, allocations: 10.81 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01218, allocations: 0 / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.01221, allocations: 3.984 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.01228, allocations: 12.19 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01228, allocations: 0 / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.01234, allocations: 19.98 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.01235, allocations: 4 kB / 382.8 MB, free: 13.13 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 0.0001123/0.01246, allocations: 113.8 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.0125, allocations: 11.89 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.01279, allocations: 102.1 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01279, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01279, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.0128, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.01328, allocations: 306.1 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01328, allocations: 0 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.01334, allocations: 15.98 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01334, allocations: 3.938 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.01335, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01335, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01335, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.01365, allocations: 195.6 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.01367, allocations: 7.953 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.01369, allocations: 4 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.01377, allocations: 11.97 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.01381, allocations: 4 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.01382, allocations: 0 / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.01393, allocations: 115.2 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01393, allocations: 0 / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000292/0.01423, allocations: 39.86 kB / 383.7 MB, free: 12.15 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.002258/0.01648, allocations: 0.5128 MB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.01673, allocations: 55.95 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01673, allocations: 3.938 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.01681, allocations: 23.98 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.01721, allocations: 23.92 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.01774, allocations: 180.4 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.719e-05/0.01783, allocations: 75.33 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.47e-05/0.01791, allocations: 23.95 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.01796, allocations: 16.5 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01796, allocations: 0 / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Templates: time 0.005577/0.02354, allocations: 1.847 MB / 386.4 MB, free: 9.531 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.954345225938596]