Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001552/0.001556, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.00112/0.00112, allocations: 96.36 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003994, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3387, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4608, allocations: 77.4 MB / 451.9 MB, free: 3.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.4611, allocations: 79.95 kB / 452 MB, free: 3.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02186/0.483, allocations: 4.645 MB / 456.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4831, allocations: 3.938 kB / 456.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.4831, allocations: 11.98 kB / 456.7 MB, free: 14.62 MB / 346.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.001525/0.4846, allocations: 0.5612 MB / 457.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4847, allocations: 8.031 kB / 457.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.798e-05/0.4848, allocations: 23.72 kB / 457.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.4852, allocations: 251.5 kB / 457.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.4852, allocations: 12.44 kB / 457.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.4853, allocations: 24 kB / 457.5 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.4863, allocations: 300.6 kB / 457.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4864, allocations: 3.938 kB / 457.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.4864, allocations: 12 kB / 457.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4865, allocations: 15.92 kB / 457.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.4878, allocations: 281.6 kB / 458.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.4904, allocations: 1.094 MB / 459.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/0.4939, allocations: 482.3 kB / 459.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.494, allocations: 7.984 kB / 459.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.494, allocations: 34.5 kB / 459.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.647e-06/0.494, allocations: 0 / 459.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.009702/0.5037, allocations: 1.143 MB / 460.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.5038, allocations: 59.39 kB / 461 MB, free: 10.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.5042, allocations: 188.8 kB / 461.1 MB, free: 9.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.5042, allocations: 33.64 kB / 461.2 MB, free: 9.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5044, allocations: 214.5 kB / 461.4 MB, free: 9.648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.311e-05/0.5045, allocations: 43.36 kB / 461.4 MB, free: 9.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.5045, allocations: 4 kB / 461.4 MB, free: 9.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5046, allocations: 322.8 kB / 461.7 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006129/0.5053, allocations: 111.9 kB / 461.9 MB, free: 9.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.5059, allocations: 134.6 kB / 462 MB, free: 9.031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.5066, allocations: 121.6 kB / 462.1 MB, free: 8.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5066, allocations: 4 kB / 462.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.005702/0.5123, allocations: 0.6737 MB / 462.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.5124, allocations: 9.188 kB / 462.8 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5124, allocations: 0 / 462.8 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.5136, allocations: 236.6 kB / 463 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.514, allocations: 43.91 kB / 463.1 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/0.5263, allocations: 2.689 MB / 465.8 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.5269, allocations: 35.92 kB / 465.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.5269, allocations: 7.984 kB / 465.8 MB, free: 5.07 MB / 346.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.0002058/0.5271, allocations: 133.9 kB / 465.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.5272, allocations: 19.77 kB / 465.9 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.5273, allocations: 25.52 kB / 466 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5273, allocations: 8.078 kB / 466 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.5274, allocations: 0 / 466 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5274, allocations: 0 / 466 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.5279, allocations: 329.3 kB / 466.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5279, allocations: 0 / 466.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.5282, allocations: 35.92 kB / 466.3 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.5294, allocations: 232.6 kB / 466.6 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.5294, allocations: 11.98 kB / 466.6 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.5416, allocations: 2.677 MB / 469.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5416, allocations: 0 / 469.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006401/0.548, allocations: 0.9166 MB / 470.2 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.5482, allocations: 100.8 kB / 470.3 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.5483, allocations: 4 kB / 470.3 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.5488, allocations: 40.03 kB / 470.3 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.5489, allocations: 11.98 kB / 470.3 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.549, allocations: 3.984 kB / 470.3 MB, free: 316 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002209/0.5492, allocations: 156.5 kB / 470.5 MB, free: 160 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5492, allocations: 4 kB / 470.5 MB, free: 156 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006308/0.5498, allocations: 83.8 kB / 470.6 MB, free: 72 kB / 346.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.0002301/0.5501, allocations: 111.2 kB / 470.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002869/0.553, allocations: 494.8 kB / 471.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.553, allocations: 0 / 471.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.5551, allocations: 362.5 kB / 471.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.5555, allocations: 36.58 kB / 471.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.5576, allocations: 0.7039 MB / 472.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5579, allocations: 0.7479 MB / 473 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.558, allocations: 19.44 kB / 473 MB, free: 13.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.555e-06/0.558, allocations: 0 / 473 MB, free: 13.52 MB / 362.7 MB Notification: Performance of Templates: time 0.008718/0.5668, allocations: 3.934 MB / 476.9 MB, free: 9.594 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches