Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001605/0.001605, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002077/0.002077, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.456/1.456, allocations: 177 MB / 204.1 MB, free: 9.195 MB / 190.1 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.2298/0.2298, allocations: 34.26 MB / 294.8 MB, free: 14.57 MB / 286.1 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.CombiTable1Dv.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 442.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.096e-05, allocations: 2.281 kB / 442.7 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003513/0.003544, allocations: 1.595 MB / 444.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.004801, allocations: 0.5331 MB / 444.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.004875, allocations: 3.938 kB / 444.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.005121, allocations: 19.8 kB / 444.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.005462, allocations: 79.61 kB / 444.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.005808, allocations: 111.6 kB / 445 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.005994, allocations: 71.77 kB / 445.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.006109, allocations: 15.84 kB / 445.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.006196, allocations: 31.86 kB / 445.1 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.006273, allocations: 15.92 kB / 445.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.006294, allocations: 4 kB / 445.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.006394, allocations: 35.91 kB / 445.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.006459, allocations: 15.92 kB / 445.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.006492, allocations: 8 kB / 445.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.006689, allocations: 83.72 kB / 445.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.006695, allocations: 3.938 kB / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.006696, allocations: 0 / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.006702, allocations: 0 / 445.3 MB, free: 2.688 MB / 366.1 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.000566/0.007267, allocations: 305.9 kB / 445.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.007308, allocations: 8.031 kB / 445.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.007356, allocations: 8.891 kB / 445.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.007568, allocations: 139.9 kB / 445.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.007582, allocations: 384 / 445.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.007604, allocations: 4.375 kB / 445.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.007756, allocations: 54.25 kB / 445.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.007771, allocations: 192 / 445.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.00778, allocations: 384 / 445.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.007788, allocations: 4.359 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.007896, allocations: 31.91 kB / 445.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.008295, allocations: 228.5 kB / 446.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.008527, allocations: 42.56 kB / 446.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.008586, allocations: 16.94 kB / 446.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.008613, allocations: 8 kB / 446.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.008645, allocations: 30.56 kB / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.008646, allocations: 0 / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006218/0.009268, allocations: 157.3 kB / 446.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.009325, allocations: 55.41 kB / 446.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.009503, allocations: 146.1 kB / 446.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.009527, allocations: 29.7 kB / 446.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.009594, allocations: 96.08 kB / 446.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.009629, allocations: 27.78 kB / 446.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.009667, allocations: 17.72 kB / 446.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.009824, allocations: 318.8 kB / 447 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.009902, allocations: 19.98 kB / 447 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.009975, allocations: 31.86 kB / 447 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.01014, allocations: 48.83 kB / 447.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.01014, allocations: 0 / 447.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002359/0.01038, allocations: 93.55 kB / 447.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01039, allocations: 4 kB / 447.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.0104, allocations: 0 / 447.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.01042, allocations: 0 / 447.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.0105, allocations: 19.98 kB / 447.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.01051, allocations: 0 / 447.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.01055, allocations: 4 kB / 447.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.01056, allocations: 3.984 kB / 447.2 MB, free: 0.5938 MB / 366.1 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.0001182/0.01068, allocations: 117.8 kB / 447.3 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.01073, allocations: 15.89 kB / 447.3 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.01106, allocations: 102.1 kB / 447.4 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01106, allocations: 0 / 447.4 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.01107, allocations: 320 / 447.4 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.01107, allocations: 0 / 447.4 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.01152, allocations: 298.1 kB / 447.7 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01153, allocations: 4 kB / 447.7 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2255/0.237, allocations: 13.97 kB / 447.7 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.237, allocations: 0.7812 kB / 447.7 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.237, allocations: 1.688 kB / 447.7 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.237, allocations: 0.8125 kB / 447.7 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.237, allocations: 0 / 447.7 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.2374, allocations: 187.5 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.2374, allocations: 6 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.2374, allocations: 3.906 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.2375, allocations: 5.406 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.2375, allocations: 6.828 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.2375, allocations: 1.5 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.996e-05/0.2376, allocations: 117.8 kB / 448.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2376, allocations: 0 / 448.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.2379, allocations: 22.27 kB / 448.1 MB, free: 18.86 MB / 366.1 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.001565/0.2395, allocations: 426.2 kB / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.2397, allocations: 56.56 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2397, allocations: 0 / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.2398, allocations: 25.23 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.2401, allocations: 21.78 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.2405, allocations: 187.8 kB / 448.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.152e-05/0.2406, allocations: 84.05 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.2407, allocations: 12.33 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.2407, allocations: 14.42 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2407, allocations: 2.516 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of Templates: time 0.004249/0.2449, allocations: 1.158 MB / 450.1 MB, free: 18.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.891853474080563]