Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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) 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(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001279, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 63.25 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1514, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.005523/0.1569, allocations: 2.728 MB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.1591, allocations: 0.7051 MB / 362.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.1595, allocations: 11.94 kB / 362.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.1598, allocations: 47.52 kB / 362.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.1602, allocations: 75.27 kB / 362.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.1608, allocations: 107.8 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005998/0.1614, allocations: 358.6 kB / 362.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.1617, allocations: 100.7 kB / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.1622, allocations: 135.5 kB / 363.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.1626, allocations: 167.3 kB / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.005e-05/0.1627, allocations: 32 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1628, allocations: 32 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.1629, allocations: 67.81 kB / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.1631, allocations: 151.2 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.1636, allocations: 350.8 kB / 363.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1637, allocations: 4 kB / 363.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1637, allocations: 0 / 363.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.1637, allocations: 4 kB / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.002042/0.1657, allocations: 0.6431 MB / 364.6 MB, free: 7.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.1658, allocations: 8.031 kB / 364.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.1661, allocations: 36.64 kB / 364.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.1668, allocations: 268.6 kB / 364.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.1668, allocations: 16.81 kB / 364.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.1669, allocations: 16.38 kB / 364.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/0.1677, allocations: 306.9 kB / 365.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1677, allocations: 0 / 365.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1677, allocations: 8 kB / 365.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.1678, allocations: 4 kB / 365.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.1686, allocations: 273.6 kB / 365.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.1706, allocations: 1.058 MB / 366.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.1726, allocations: 438.3 kB / 367 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.173, allocations: 152.7 kB / 367.1 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1731, allocations: 0 / 367.1 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.1731, allocations: 34.56 kB / 367.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.1732, allocations: 0 / 367.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.00534/0.1785, allocations: 1.03 MB / 368.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1786, allocations: 51.41 kB / 368.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1789, allocations: 221 kB / 368.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.1789, allocations: 29.7 kB / 368.5 MB, free: 3.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1791, allocations: 160 kB / 368.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.1791, allocations: 47.34 kB / 368.7 MB, free: 3.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1792, allocations: 37.69 kB / 368.7 MB, free: 3.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1794, allocations: 330.8 kB / 369.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.1798, allocations: 111.9 kB / 369.2 MB, free: 2.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.1801, allocations: 125.6 kB / 369.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/0.1808, allocations: 232 kB / 369.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1808, allocations: 0 / 369.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002949/0.1837, allocations: 0.6344 MB / 370.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1838, allocations: 8 kB / 370.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.1838, allocations: 0 / 370.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007756/0.1846, allocations: 216.7 kB / 370.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.1848, allocations: 31.98 kB / 370.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.298/0.4827, allocations: 2.746 MB / 373.1 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.4831, allocations: 35.08 kB / 373.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.4831, allocations: 13.92 kB / 373.2 MB, free: 18.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.4833, allocations: 138 kB / 373.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.4834, allocations: 20.25 kB / 373.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.4834, allocations: 28.45 kB / 373.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4834, allocations: 1.594 kB / 373.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.4834, allocations: 3.312 kB / 373.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4834, allocations: 1.359 kB / 373.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.4838, allocations: 323.1 kB / 373.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4838, allocations: 0 / 373.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.484, allocations: 31.8 kB / 373.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/0.4847, allocations: 219.9 kB / 373.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.4847, allocations: 6.625 kB / 373.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006693/0.4914, allocations: 2.732 MB / 376.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4915, allocations: 3.094 kB / 376.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.4948, allocations: 0.8465 MB / 377.5 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.4949, allocations: 101.8 kB / 377.6 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.4949, allocations: 0 / 377.6 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.4952, allocations: 33.59 kB / 377.7 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.4953, allocations: 9.859 kB / 377.7 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.4953, allocations: 4.859 kB / 377.7 MB, free: 16.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.4955, allocations: 163.7 kB / 377.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4955, allocations: 0 / 377.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.496, allocations: 81.86 kB / 377.9 MB, free: 16.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001563/0.4961, allocations: 105.4 kB / 378 MB, free: 16.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.4977, allocations: 439.5 kB / 378.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4978, allocations: 320 / 378.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.4989, allocations: 335.9 kB / 378.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.4992, allocations: 32.44 kB / 378.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.5006, allocations: 0.5609 MB / 379.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.5009, allocations: 0.7456 MB / 380.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.729e-05/0.501, allocations: 13.48 kB / 380.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.501, allocations: 14.41 kB / 380.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of SimCode: time 6.92e-07/0.501, allocations: 4 kB / 380.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Templates: time 0.01216/0.5132, allocations: 4.95 MB / 385.1 MB, free: 14.45 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches