Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0009922/0.0009922, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001078/0.001078, allocations: 161 kB / 24.56 MB, free: 12 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.289 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.2551/0.2551, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.863e-05, allocations: 2.312 kB / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002159/0.002178, allocations: 1.634 MB / 379.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007942/0.002972, allocations: 0.5414 MB / 380.2 MB, free: 476 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.00303, allocations: 0 / 380.2 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.003269, allocations: 27.84 kB / 380.3 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.003616, allocations: 83.56 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.003929, allocations: 111.6 kB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.004089, allocations: 67.77 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.00421, allocations: 11.98 kB / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.495e-05/0.004275, allocations: 27.92 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.00434, allocations: 19.91 kB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004359, allocations: 4 kB / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.32e-05/0.004432, allocations: 28 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.00448, allocations: 15.92 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.004512, allocations: 11.94 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.00468, allocations: 75.77 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.004683, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.004685, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.004695, allocations: 4 kB / 380.7 MB, free: 15.98 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.0005702/0.005265, allocations: 408.2 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.005302, allocations: 8.031 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.00535, allocations: 8.891 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.005489, allocations: 137.9 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.005498, allocations: 384 / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.005521, allocations: 12.38 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.005636, allocations: 50.8 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005645, allocations: 4.188 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.005656, allocations: 4.125 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.005664, allocations: 3.938 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.025e-05/0.005695, allocations: 8 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.005998, allocations: 275.8 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.006181, allocations: 46.98 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.006207, allocations: 11.78 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.00623, allocations: 11.92 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.006255, allocations: 41.39 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.006257, allocations: 3.984 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003722/0.006629, allocations: 101.4 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.006661, allocations: 51.41 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.006773, allocations: 204.1 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.006782, allocations: 25.7 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.006833, allocations: 138.9 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.006855, allocations: 23.78 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.006885, allocations: 23.38 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.006999, allocations: 0.4962 MB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.00702, allocations: 4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.443e-05/0.007035, allocations: 4 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.007077, allocations: 27.62 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007078, allocations: 0 / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.721e-05/0.007155, allocations: 65.58 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.007171, allocations: 4 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.007177, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.007192, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.007237, allocations: 11.98 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.007244, allocations: 0 / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.007261, allocations: 8 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007267, allocations: 0 / 382.9 MB, free: 13.59 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 7.638e-05/0.007343, allocations: 164.5 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.007364, allocations: 15.88 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.007488, allocations: 66.14 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.007489, allocations: 0 / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007493, allocations: 320 / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.007499, allocations: 3.984 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.007744, allocations: 325.4 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007746, allocations: 3.938 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.007778, allocations: 15.98 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.007781, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.007788, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.00779, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.007791, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.007906, allocations: 211.8 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-06/0.007915, allocations: 3.953 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.007929, allocations: 8 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.896e-05/0.007958, allocations: 0 / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.007999, allocations: 11.92 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.008002, allocations: 4 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.008066, allocations: 149.9 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008066, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.008235, allocations: 16 kB / 383.9 MB, free: 12.54 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.0008502/0.009085, allocations: 386.4 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.009187, allocations: 31.67 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009189, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.524e-05/0.009214, allocations: 23.62 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.009427, allocations: 23.3 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.009751, allocations: 178.6 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.009793, allocations: 63.34 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.009829, allocations: 12.23 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.009861, allocations: 20.48 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009861, allocations: 0 / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003845/0.01371, allocations: 1.251 MB / 385.8 MB, free: 10.65 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.181544929277152]