Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.0009676/0.0009676, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.0009755/0.0009755, allocations: 169.8 kB / 24.82 MB, free: 8.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.982/0.982, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2762/0.2762, allocations: 34.25 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.709e-05/4.033e-05, allocations: 2.312 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.002667/0.002707, allocations: 1.626 MB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.004326, allocations: 1.27 MB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.004392, allocations: 0 / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.004648, allocations: 27.78 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.004993, allocations: 91.5 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.005232, allocations: 87.69 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.00537, allocations: 71.77 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.005468, allocations: 11.98 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.005533, allocations: 31.86 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.005639, allocations: 23.95 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.005656, allocations: 4 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.005805, allocations: 95.81 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.005855, allocations: 8 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.00588, allocations: 19.92 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.006091, allocations: 135.5 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.006095, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006097, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.006102, allocations: 0 / 382 MB, free: 14.85 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.0004512/0.006553, allocations: 428 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.006596, allocations: 12.03 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.006634, allocations: 8.891 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.006787, allocations: 136.5 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.006795, allocations: 4.375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.006813, allocations: 4.375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.006945, allocations: 100 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006955, allocations: 8.125 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.006963, allocations: 4.125 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.006968, allocations: 0 / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.717e-05/0.006995, allocations: 23.92 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.007255, allocations: 252.4 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.007393, allocations: 35.06 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.007414, allocations: 19.77 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.007438, allocations: 0 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.007464, allocations: 45.33 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.007465, allocations: 0 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003021/0.007767, allocations: 89.48 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.007803, allocations: 81.11 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.007922, allocations: 195.9 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.007933, allocations: 29.64 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.007987, allocations: 142.8 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.008005, allocations: 15.83 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.008039, allocations: 27.36 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.008161, allocations: 0.4884 MB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.008177, allocations: 11.98 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.008211, allocations: 45.08 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.008248, allocations: 23.69 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008249, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.762e-05/0.008326, allocations: 57.58 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.008341, allocations: 8 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008346, allocations: 3.938 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.008359, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.008412, allocations: 11.98 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.008416, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.008437, allocations: 4 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.008442, allocations: 4.031 kB / 384.3 MB, free: 12.33 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 8.015e-05/0.008522, allocations: 160.6 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.008545, allocations: 19.88 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.008666, allocations: 62.39 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008667, allocations: 0 / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.00867, allocations: 4.062 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008674, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.008897, allocations: 302 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008898, allocations: 0 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.008934, allocations: 11.94 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.008938, allocations: 8 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.008945, allocations: 3.984 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.008946, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.008947, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.009055, allocations: 207.8 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.00907, allocations: 11.95 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.009082, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.009119, allocations: 4 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.009144, allocations: 3.984 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.009148, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.009204, allocations: 153.2 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009204, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.009402, allocations: 39.86 kB / 385.3 MB, free: 11.29 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.001115/0.01052, allocations: 488.3 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.01064, allocations: 39.61 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01065, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.01067, allocations: 19.62 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.01091, allocations: 27.09 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.01125, allocations: 169.9 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.01129, allocations: 62.39 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.769e-05/0.01134, allocations: 11.98 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.01142, allocations: 98.12 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01142, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of Templates: time 0.003881/0.0153, allocations: 2.012 MB / 388.2 MB, free: 8.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.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.3319939388893545]