Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002186/0.002186, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.419/2.419, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3862/0.3862, allocations: 46.1 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 77.47 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1744, allocations: 62.44 MB / 480.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.005408/0.1799, allocations: 1.753 MB / 481.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.182, allocations: 0.6469 MB / 482.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1821, allocations: 4 kB / 482.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.864e-05/0.1822, allocations: 11.86 kB / 482.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1825, allocations: 11.88 kB / 482.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008126/0.1833, allocations: 135.6 kB / 482.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.1837, allocations: 155.6 kB / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1839, allocations: 37.03 kB / 482.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.1842, allocations: 67.81 kB / 483 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1844, allocations: 67.67 kB / 483 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.1845, allocations: 12 kB / 483 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.912e-05/0.1846, allocations: 16 kB / 483 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.1847, allocations: 39.84 kB / 483.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1848, allocations: 63.7 kB / 483.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.1851, allocations: 92.06 kB / 483.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1851, allocations: 0 / 483.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1851, allocations: 0 / 483.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.1851, allocations: 0 / 483.2 MB, free: 2.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001127/0.1863, allocations: 455 kB / 483.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.1864, allocations: 16.02 kB / 483.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.1867, allocations: 28.69 kB / 483.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.1871, allocations: 220 kB / 483.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.1871, allocations: 8.375 kB / 483.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.1872, allocations: 16.31 kB / 484 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/0.188, allocations: 182.5 kB / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.188, allocations: 0 / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.188, allocations: 4 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1881, allocations: 4 kB / 484.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006995/0.1888, allocations: 119.9 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.1903, allocations: 456.5 kB / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1913, allocations: 186.5 kB / 484.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.1917, allocations: 76.8 kB / 485 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.1918, allocations: 7.938 kB / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.192, allocations: 34.56 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.475e-06/0.192, allocations: 0 / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.002626/0.1946, allocations: 0.5646 MB / 485.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1947, allocations: 106.8 kB / 485.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.195, allocations: 161.9 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.1951, allocations: 25.7 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1952, allocations: 112.1 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.1953, allocations: 31.55 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1954, allocations: 29.72 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1956, allocations: 318.8 kB / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.196, allocations: 80.72 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.1965, allocations: 94.52 kB / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007867/0.1973, allocations: 145 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1973, allocations: 0 / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009155/0.1983, allocations: 185.3 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.1983, allocations: 4 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1983, allocations: 4.156 kB / 486.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1984, allocations: 4 kB / 486.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.1987, allocations: 39.84 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.1988, allocations: 7.922 kB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.199, allocations: 27.97 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1991, allocations: 3.984 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003069/0.1994, allocations: 124.1 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002145/0.1996, allocations: 54.53 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003549/0.2, allocations: 76.77 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.2, allocations: 0 / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0004787/0.2005, allocations: 125.8 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2005, allocations: 4 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.2005, allocations: 0 / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.2006, allocations: 0 / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.2007, allocations: 27.91 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2008, allocations: 7.938 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.201, allocations: 15.98 kB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.201, allocations: 0 / 487.4 MB, free: 14.07 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 (10): * Single equations (assignments): 10 * 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.0001996/0.2012, allocations: 188.3 kB / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/0.2013, allocations: 15.81 kB / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.2014, allocations: 13.39 kB / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2014, allocations: 7.938 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.2014, allocations: 4 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2015, allocations: 0 / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.2031, allocations: 0.507 MB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.2031, allocations: 3.938 kB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.2034, allocations: 35.91 kB / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.2035, allocations: 0 / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.2035, allocations: 12.03 kB / 488.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2035, allocations: 0 / 488.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2035, allocations: 0 / 488.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.2049, allocations: 360 kB / 488.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.423e-05/0.205, allocations: 88.98 kB / 488.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.2051, allocations: 0 / 488.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.2056, allocations: 44.02 kB / 488.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.2057, allocations: 7.984 kB / 488.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.2057, allocations: 8 kB / 488.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.2059, allocations: 121.8 kB / 488.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2059, allocations: 3.938 kB / 488.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006356/0.2066, allocations: 32 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.000167/0.2067, allocations: 95.23 kB / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.2079, allocations: 203.8 kB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2079, allocations: 0 / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.2083, allocations: 83.88 kB / 489.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.2092, allocations: 46.08 kB / 489.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.2103, allocations: 346.2 kB / 489.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.2108, allocations: 0.7124 MB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2109, allocations: 19.42 kB / 490.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.312e-06/0.2109, allocations: 0 / 490.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Templates: time 0.00654/0.2175, allocations: 1.848 MB / 492.1 MB, free: 9.141 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches