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/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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 200.8 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 226.5 MB / 245.4 MB, free: 6.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 106 kB / 297.5 MB, free: 6.715 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 4 kB / 358.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3404, allocations: 51.3 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.487, allocations: 79.65 MB / 489 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4873, allocations: 71.97 kB / 489.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01924/0.5066, allocations: 4.917 MB / 494 MB, free: 6.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5066, allocations: 4 kB / 494 MB, free: 6.895 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.5066, allocations: 8 kB / 494 MB, free: 6.887 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001323/0.508, allocations: 0.5497 MB / 494.6 MB, free: 6.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.508, allocations: 12.02 kB / 494.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.5083, allocations: 44.56 kB / 494.6 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.5087, allocations: 256.8 kB / 494.9 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.5088, allocations: 12.81 kB / 494.9 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.5088, allocations: 24.38 kB / 494.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009425/0.5098, allocations: 311.1 kB / 495.2 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5098, allocations: 192 / 495.2 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/0.5099, allocations: 11.92 kB / 495.2 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.5099, allocations: 4 kB / 495.2 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.511, allocations: 285.5 kB / 495.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.5135, allocations: 1.089 MB / 496.6 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.5162, allocations: 478.3 kB / 497.1 MB, free: 3.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.5168, allocations: 160.8 kB / 497.2 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.5168, allocations: 0 / 497.2 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.5169, allocations: 34.56 kB / 497.3 MB, free: 3.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.5169, allocations: 0 / 497.3 MB, free: 3.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.007407/0.5243, allocations: 1.159 MB / 498.4 MB, free: 2.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5244, allocations: 55.41 kB / 498.5 MB, free: 2.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.5247, allocations: 216.1 kB / 498.7 MB, free: 1.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.5247, allocations: 29.7 kB / 498.7 MB, free: 1.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.5249, allocations: 160.1 kB / 498.9 MB, free: 1.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.5249, allocations: 47.27 kB / 498.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.525, allocations: 4 kB / 498.9 MB, free: 1.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5251, allocations: 330.8 kB / 499.2 MB, free: 1.387 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.5256, allocations: 111.9 kB / 499.3 MB, free: 1.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.5262, allocations: 140.4 kB / 499.5 MB, free: 1.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009765/0.5272, allocations: 245.5 kB / 499.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5272, allocations: 0 / 499.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003711/0.5309, allocations: 0.7008 MB / 0.4887 GB, free: 184 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5309, allocations: 6.656 kB / 0.4887 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5309, allocations: 0 / 0.4887 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.532, allocations: 232.7 kB / 0.4889 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.5323, allocations: 31.98 kB / 0.489 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/0.5393, allocations: 2.615 MB / 0.4915 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.5396, allocations: 47.91 kB / 0.4916 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.5397, allocations: 7.984 kB / 0.4916 GB, free: 13.11 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.5399, allocations: 133.8 kB / 0.4917 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.54, allocations: 27.64 kB / 0.4917 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.5401, allocations: 21.53 kB / 0.4917 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5401, allocations: 4 kB / 0.4917 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5401, allocations: 0 / 0.4917 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5401, allocations: 7.922 kB / 0.4917 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.5405, allocations: 333.3 kB / 0.4921 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5406, allocations: 0 / 0.4921 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.5407, allocations: 31.97 kB / 0.4921 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006821/0.5414, allocations: 232.6 kB / 0.4923 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.5415, allocations: 8 kB / 0.4923 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006172/0.5476, allocations: 2.611 MB / 0.4949 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5477, allocations: 0 / 0.4949 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.5508, allocations: 0.9135 MB / 0.4958 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.5509, allocations: 96.88 kB / 0.4959 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.551, allocations: 8 kB / 0.4959 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.5512, allocations: 35.91 kB / 0.4959 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.5513, allocations: 16.05 kB / 0.4959 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.5513, allocations: 4 kB / 0.4959 GB, free: 8.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.5515, allocations: 165.5 kB / 0.4961 GB, free: 8.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5515, allocations: 0 / 0.4961 GB, free: 8.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000476/0.552, allocations: 83.84 kB / 0.4962 GB, free: 8.164 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.5522, allocations: 99.25 kB / 0.4963 GB, free: 8.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.5538, allocations: 498.4 kB / 0.4967 GB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5538, allocations: 0 / 0.4967 GB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.5549, allocations: 370.4 kB / 0.4971 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.5553, allocations: 32.73 kB / 0.4971 GB, free: 7.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.5566, allocations: 0.6667 MB / 0.4978 GB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.5569, allocations: 0.7478 MB / 0.4985 GB, free: 5.684 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.029e-05/0.557, allocations: 17.55 kB / 0.4985 GB, free: 5.668 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.557, allocations: 15.44 kB / 0.4985 GB, free: 5.652 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.557, allocations: 0 / 0.4985 GB, free: 5.652 MB / 378.7 MB Notification: Performance of Templates: time 0.009736/0.5668, allocations: 4.499 MB / 0.5029 GB, free: 1.18 MB / 378.7 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 -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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches