Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.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.0008248/0.0008248, allocations: 96.27 kB / 21.44 MB, free: 3.098 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.0008595/0.0008595, allocations: 153.1 kB / 24.69 MB, free: 9.43 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.9053/0.9053, allocations: 177 MB / 204.9 MB, free: 5.754 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.2454/0.2454, allocations: 34.25 MB / 295.6 MB, free: 0.668 MB / 266.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.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.556e-05, allocations: 2.281 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.1866/0.1866, allocations: 3.853 MB / 447.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1883, allocations: 1.556 MB / 448.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.1886, allocations: 50.03 kB / 448.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1889, allocations: 159.5 kB / 449 MB, free: 41.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.1891, allocations: 175.7 kB / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.1898, allocations: 0.6 MB / 449.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005295/0.1903, allocations: 1.053 MB / 450.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.1906, allocations: 285.9 kB / 451.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.1909, allocations: 0.5221 MB / 451.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1911, allocations: 267.8 kB / 451.9 MB, free: 39.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.168e-05/0.1912, allocations: 87 kB / 452 MB, free: 39.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.271e-05/0.1912, allocations: 90.25 kB / 452.1 MB, free: 39.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.1913, allocations: 206.3 kB / 452.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1914, allocations: 256.3 kB / 452.5 MB, free: 39.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.1919, allocations: 1.034 MB / 453.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1919, allocations: 0 / 453.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1919, allocations: 2.812 kB / 453.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1919, allocations: 0 / 453.6 MB, free: 38.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001046/0.193, allocations: 1.244 MB / 454.8 MB, free: 38.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.193, allocations: 8.875 kB / 454.8 MB, free: 38.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.857e-05/0.1931, allocations: 128.8 kB / 455 MB, free: 38.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.1937, allocations: 0.5848 MB / 455.5 MB, free: 37.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1937, allocations: 44.78 kB / 455.6 MB, free: 37.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.1938, allocations: 75.73 kB / 455.7 MB, free: 37.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.1945, allocations: 0.9653 MB / 456.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1945, allocations: 4 kB / 456.6 MB, free: 36.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.1945, allocations: 28.38 kB / 456.7 MB, free: 36.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1945, allocations: 17.25 kB / 456.7 MB, free: 36.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.1951, allocations: 0.5453 MB / 457.2 MB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.1967, allocations: 2.374 MB / 459.6 MB, free: 34.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.1974, allocations: 0.6463 MB / 460.2 MB, free: 34.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.1977, allocations: 275.2 kB / 460.5 MB, free: 34.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1977, allocations: 11.5 kB / 460.5 MB, free: 34.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1977, allocations: 45.75 kB / 460.6 MB, free: 34.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 1.583e-06/0.1977, allocations: 3.156 kB / 460.6 MB, free: 34.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.0009708/0.1987, allocations: 0.7906 MB / 461.4 MB, free: 34.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.1988, allocations: 347.4 kB / 461.7 MB, free: 33.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.1992, allocations: 0.6452 MB / 462.3 MB, free: 33.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1992, allocations: 36.98 kB / 462.4 MB, free: 33.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.1994, allocations: 441.1 kB / 462.8 MB, free: 33.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.1994, allocations: 193.7 kB / 463 MB, free: 32.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1995, allocations: 106.6 kB / 463.1 MB, free: 32.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.1996, allocations: 326.7 kB / 463.4 MB, free: 32.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1998, allocations: 228.1 kB / 463.6 MB, free: 32.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.2002, allocations: 0.5871 MB / 464.2 MB, free: 32.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.2008, allocations: 0.5567 MB / 464.8 MB, free: 31.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2008, allocations: 5.438 kB / 464.8 MB, free: 31.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001298/0.2021, allocations: 1.038 MB / 465.8 MB, free: 31.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2021, allocations: 9.875 kB / 465.8 MB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2021, allocations: 3.125 kB / 465.8 MB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.2027, allocations: 326.2 kB / 466.2 MB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.203, allocations: 121.7 kB / 466.3 MB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/0.2068, allocations: 6.717 MB / 473 MB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.207, allocations: 84.86 kB / 473.1 MB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.2071, allocations: 16.91 kB / 473.1 MB, free: 25.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003319/0.2074, allocations: 346.4 kB / 473.4 MB, free: 25.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002892/0.2077, allocations: 0.5512 MB / 474 MB, free: 24.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004465/0.2081, allocations: 0.4926 MB / 474.5 MB, free: 24.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.2081, allocations: 0 / 474.5 MB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0007603/0.2089, allocations: 0.7388 MB / 475.2 MB, free: 24.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.2089, allocations: 6.281 kB / 475.2 MB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2089, allocations: 3.5 kB / 475.2 MB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.2091, allocations: 150.2 kB / 475.4 MB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.2095, allocations: 172.5 kB / 475.5 MB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.2109, allocations: 3.163 MB / 478.7 MB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.2111, allocations: 68.19 kB / 478.8 MB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.2111, allocations: 18.44 kB / 478.8 MB, free: 21.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 9.979e-05/0.2112, allocations: 215.9 kB / 479 MB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.2113, allocations: 95.75 kB / 479.1 MB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.2114, allocations: 93.8 kB / 479.2 MB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2114, allocations: 9.359 kB / 479.2 MB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2114, allocations: 1.125 kB / 479.2 MB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2114, allocations: 3.125 kB / 479.2 MB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.2119, allocations: 0.5364 MB / 479.7 MB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2119, allocations: 0 / 479.7 MB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.2122, allocations: 108.8 kB / 479.8 MB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2122, allocations: 6.531 kB / 479.9 MB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.2122, allocations: 14.75 kB / 479.9 MB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2122, allocations: 3.156 kB / 479.9 MB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2122, allocations: 7.031 kB / 479.9 MB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.2131, allocations: 1.205 MB / 481.1 MB, free: 20.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.2132, allocations: 136.7 kB / 481.2 MB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.2133, allocations: 14.34 kB / 481.2 MB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.2135, allocations: 39.59 kB / 481.3 MB, free: 20.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.2136, allocations: 41.45 kB / 481.3 MB, free: 20.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2136, allocations: 15.34 kB / 481.3 MB, free: 20.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.2139, allocations: 446.9 kB / 481.8 MB, free: 19.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2139, allocations: 0 / 481.8 MB, free: 19.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005798/0.2144, allocations: 297.5 kB / 482.1 MB, free: 19.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * 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 9.554e-05/0.2145, allocations: 111.3 kB / 482.2 MB, free: 19.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.2163, allocations: 1.826 MB / 484 MB, free: 18.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2163, allocations: 3.25 kB / 484 MB, free: 18.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.2166, allocations: 264.2 kB / 484.2 MB, free: 18.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.2174, allocations: 234.5 kB / 484.5 MB, free: 18.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2188, allocations: 1.513 MB / 486 MB, free: 17.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.219, allocations: 396.5 kB / 486.4 MB, free: 17.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.2191, allocations: 50.97 kB / 486.4 MB, free: 17.55 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2191, allocations: 0 / 486.4 MB, free: 17.55 MB / 410.7 MB Notification: Performance of Templates: time 0.01537/0.2345, allocations: 17.28 MB / 0.4919 GB, free: 14.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.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: 5.967852069064975]