Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009824/0.0009824, allocations: 78.66 kB / 267.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.427e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.09865, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3063/0.405, allocations: 77.32 MB / 447.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4052, allocations: 71.64 kB / 447.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.4185, allocations: 4.649 MB / 452.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4185, allocations: 4 kB / 452.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.4186, allocations: 7.938 kB / 452.1 MB, free: 11.86 MB / 330.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.000868/0.4194, allocations: 0.5256 MB / 452.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4195, allocations: 12.02 kB / 452.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.4196, allocations: 31.62 kB / 452.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.4199, allocations: 250.4 kB / 452.9 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.4199, allocations: 12.31 kB / 452.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.4199, allocations: 23.67 kB / 452.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.4203, allocations: 252.6 kB / 453.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.4204, allocations: 0 / 453.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.4204, allocations: 7.812 kB / 453.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4204, allocations: 4 kB / 453.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.4207, allocations: 178.6 kB / 453.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.4223, allocations: 1.087 MB / 454.4 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.4236, allocations: 343.3 kB / 454.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.4238, allocations: 103.1 kB / 454.9 MB, free: 9.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.4238, allocations: 4 kB / 454.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.4238, allocations: 30.56 kB / 454.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.4238, allocations: 0 / 454.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.002402/0.4262, allocations: 0.5199 MB / 455.4 MB, free: 8.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.4263, allocations: 55.34 kB / 455.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.4265, allocations: 197.4 kB / 455.7 MB, free: 8.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.4265, allocations: 29.7 kB / 455.7 MB, free: 8.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.4266, allocations: 155 kB / 455.9 MB, free: 8.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.4267, allocations: 46.98 kB / 455.9 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.4267, allocations: 7.812 kB / 455.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4268, allocations: 334.3 kB / 456.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.4269, allocations: 55.12 kB / 456.3 MB, free: 8.004 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.427, allocations: 83.64 kB / 456.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4272, allocations: 66.78 kB / 456.4 MB, free: 7.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4272, allocations: 0 / 456.4 MB, free: 7.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002356/0.4296, allocations: 0.546 MB / 457 MB, free: 7.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4296, allocations: 4 kB / 457 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.4296, allocations: 0 / 457 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003112/0.4299, allocations: 135.2 kB / 457.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.4301, allocations: 39.86 kB / 457.2 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.4348, allocations: 2.184 MB / 459.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.4351, allocations: 47.94 kB / 459.4 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.4351, allocations: 7.984 kB / 459.4 MB, free: 5.102 MB / 330.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 () * 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 8.872e-05/0.4352, allocations: 109 kB / 459.5 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.4353, allocations: 27.67 kB / 459.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.4354, allocations: 21.66 kB / 459.5 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4354, allocations: 0 / 459.5 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4354, allocations: 3.984 kB / 459.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4354, allocations: 4 kB / 459.6 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.4358, allocations: 333.2 kB / 459.9 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4358, allocations: 0 / 459.9 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.436, allocations: 31.92 kB / 459.9 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.4362, allocations: 140.7 kB / 460 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.4363, allocations: 8 kB / 460.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004703/0.441, allocations: 2.17 MB / 462.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.441, allocations: 0 / 462.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.4435, allocations: 0.7188 MB / 462.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.4436, allocations: 96.89 kB / 463 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.4437, allocations: 7.984 kB / 463 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.444, allocations: 36.05 kB / 463.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.444, allocations: 11.98 kB / 463.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.444, allocations: 7.984 kB / 463.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.4442, allocations: 157.8 kB / 463.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4442, allocations: 4 kB / 463.3 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.4447, allocations: 79.84 kB / 463.3 MB, free: 0.9141 MB / 330.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 () * 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.0001717/0.4448, allocations: 103.2 kB / 463.4 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.446, allocations: 386.3 kB / 463.8 MB, free: 424 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.446, allocations: 4.062 kB / 463.8 MB, free: 420 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008925/0.4469, allocations: 306.5 kB / 464.1 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4472, allocations: 39.92 kB / 464.2 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.4481, allocations: 363.9 kB / 464.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.4484, allocations: 0.7558 MB / 465.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.732e-05/0.4485, allocations: 17.55 kB / 465.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.4485, allocations: 15.44 kB / 465.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4485, allocations: 0 / 465.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of Templates: time 0.007606/0.4562, allocations: 4.465 MB / 469.8 MB, free: 10.41 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches