Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001091/0.001091, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001254/0.001254, allocations: 166.9 kB / 25.61 MB, free: 8.902 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.9692/0.9692, allocations: 177 MB / 205.9 MB, free: 4.434 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.1524/0.1524, allocations: 34.88 MB / 297.4 MB, free: 13.43 MB / 282.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.923e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002226/0.002255, allocations: 1.643 MB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007261/0.002981, allocations: 0.533 MB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.003056, allocations: 3.938 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.00333, allocations: 71.7 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.003599, allocations: 103.5 kB / 382.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.003816, allocations: 95.69 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.003984, allocations: 83.69 kB / 382.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.004095, allocations: 19.98 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.004167, allocations: 39.89 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.004273, allocations: 43.89 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.00429, allocations: 4 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.00438, allocations: 47.91 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.004433, allocations: 19.92 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.004459, allocations: 15.94 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.004596, allocations: 91.55 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004599, allocations: 3.984 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.0046, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.004604, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.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.0003137/0.004918, allocations: 443.9 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.004952, allocations: 8.031 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.004983, allocations: 12.89 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.005089, allocations: 137.2 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.005099, allocations: 384 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.005117, allocations: 8.328 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.378e-05/0.005201, allocations: 66.86 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.00521, allocations: 192 / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.005217, allocations: 384 / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.005221, allocations: 4.375 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.005242, allocations: 15.92 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.005452, allocations: 264.4 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.721e-05/0.005509, allocations: 43 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.005524, allocations: 15.77 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.005542, allocations: 0 / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.005557, allocations: 33.39 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005558, allocations: 0 / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004621/0.00602, allocations: 161.3 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.00605, allocations: 55.41 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.00616, allocations: 235.9 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.006168, allocations: 29.64 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.006219, allocations: 150.9 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.006246, allocations: 35.72 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.006275, allocations: 19.38 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.00636, allocations: 0.4962 MB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.006377, allocations: 11.98 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.423e-05/0.006392, allocations: 7.984 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.006432, allocations: 31.67 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.006433, allocations: 0 / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.188e-05/0.006515, allocations: 73.58 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.00653, allocations: 4 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006536, allocations: 0 / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.006546, allocations: 432 / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.006615, allocations: 19.94 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.006617, allocations: 0 / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.006635, allocations: 7.984 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.006642, allocations: 4 kB / 385.2 MB, free: 17.35 MB / 314.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 5.747e-05/0.006699, allocations: 156.6 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.006723, allocations: 19.84 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.006847, allocations: 99.36 kB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.006849, allocations: 0 / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.006852, allocations: 3.984 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.006855, allocations: 0 / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.007087, allocations: 345.6 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.00709, allocations: 4 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.007129, allocations: 15.98 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.007132, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.007137, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.007138, allocations: 4.031 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.00714, allocations: 4 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.407e-05/0.007224, allocations: 235.4 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.007233, allocations: 11.84 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.007243, allocations: 4 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.152e-05/0.007275, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.007302, allocations: 15.97 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.007306, allocations: 4 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.007348, allocations: 155.8 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007348, allocations: 0 / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.007511, allocations: 19.94 kB / 386.3 MB, free: 16.19 MB / 314.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.0009156/0.008426, allocations: 428.5 kB / 386.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.008515, allocations: 47.58 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.008518, allocations: 0 / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.008539, allocations: 23.62 kB / 386.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.00882, allocations: 24.23 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.009167, allocations: 220.2 kB / 387 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.009199, allocations: 75.25 kB / 387.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.00923, allocations: 8.734 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.009279, allocations: 82.19 kB / 387.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.00928, allocations: 0 / 387.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of Templates: time 0.003628/0.01291, allocations: 1.527 MB / 388.7 MB, free: 13.9 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.3139244141057134]