Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.002384/0.002384, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002826/0.002826, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3624/0.3624, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.517e-05, allocations: 6.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00309/0.003115, allocations: 1.607 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004347, allocations: 0.5221 MB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.004403, allocations: 0 / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.00463, allocations: 35.66 kB / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.004931, allocations: 79.62 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.005199, allocations: 95.62 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.005355, allocations: 67.83 kB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.005435, allocations: 4 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.005511, allocations: 35.84 kB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.005568, allocations: 15.92 kB / 379.8 MB, free: 484 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.005588, allocations: 4 kB / 379.8 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-05/0.005669, allocations: 27.98 kB / 379.8 MB, free: 452 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.005726, allocations: 23.91 kB / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.005758, allocations: 15.94 kB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.005938, allocations: 83.66 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.00594, allocations: 0 / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005941, allocations: 0 / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.005945, allocations: 0 / 379.9 MB, free: 328 kB / 346.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.0005576/0.006503, allocations: 423.7 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.006537, allocations: 12.03 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.006597, allocations: 12.88 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.006785, allocations: 133.1 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.006797, allocations: 8.312 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.006819, allocations: 8.375 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.006952, allocations: 46 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006964, allocations: 0 / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.006971, allocations: 0 / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.006976, allocations: 0 / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.013e-05/0.007066, allocations: 23.92 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.007505, allocations: 287.7 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.007742, allocations: 50.98 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.007795, allocations: 15.78 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.007818, allocations: 3.984 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.007855, allocations: 45.33 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.007856, allocations: 0 / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005557/0.008412, allocations: 117.5 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.008472, allocations: 59.34 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.008715, allocations: 228.7 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.008734, allocations: 25.7 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.008852, allocations: 150.8 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.008886, allocations: 23.83 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.008936, allocations: 27.36 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002782/0.009214, allocations: 0.5001 MB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.009275, allocations: 15.98 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.009328, allocations: 20.05 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.009452, allocations: 39.67 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.009453, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/0.009632, allocations: 81.58 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.009647, allocations: 4 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.009653, allocations: 3.984 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.009666, allocations: 4 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.009725, allocations: 8 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.009731, allocations: 0 / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.009762, allocations: 4 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.009768, allocations: 0 / 382.2 MB, free: 13.77 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.0001353/0.009903, allocations: 168.5 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.009941, allocations: 15.91 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.01017, allocations: 90 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01017, allocations: 0 / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01018, allocations: 4 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01018, allocations: 0 / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.01066, allocations: 353.4 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01066, allocations: 0 / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.01072, allocations: 8.594 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.01072, allocations: 3.984 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.01073, allocations: 0 / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01073, allocations: 4 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01073, allocations: 0 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.011, allocations: 235.7 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.01102, allocations: 11.95 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.01103, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.498e-05/0.0111, allocations: 8 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.01113, allocations: 3.984 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.01114, allocations: 4 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.01128, allocations: 165.7 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01128, allocations: 0 / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.01152, allocations: 19.92 kB / 383.3 MB, free: 12.62 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.002842/0.01436, allocations: 438.4 kB / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.01455, allocations: 47.61 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01455, allocations: 0 / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.01462, allocations: 31.67 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.01493, allocations: 23.92 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.01539, allocations: 194.3 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.613e-05/0.01549, allocations: 83.31 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.874e-05/0.01553, allocations: 7.984 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.01557, allocations: 20.44 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01557, allocations: 0 / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.004385/0.01995, allocations: 1.161 MB / 385.3 MB, free: 10.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.821022691088729]