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.002624/0.002624, allocations: 181.2 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.162/4.162, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.001133/0.001133, allocations: 97.41 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005167, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5836/0.5842, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.7757, allocations: 77.45 MB / 453.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/0.7762, allocations: 71.97 kB / 453.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02496/0.8011, allocations: 4.659 MB / 457.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.8012, allocations: 4 kB / 457.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.8012, allocations: 4 kB / 457.9 MB, free: 14.42 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.006942/0.8082, allocations: 0.5496 MB / 458.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.332e-05/0.8083, allocations: 8.031 kB / 458.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.8086, allocations: 28.66 kB / 458.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.8092, allocations: 260.7 kB / 458.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.8093, allocations: 16.81 kB / 458.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/0.8094, allocations: 24.38 kB / 458.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.8106, allocations: 299.2 kB / 459.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.8106, allocations: 4.188 kB / 459.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.8107, allocations: 15.88 kB / 459.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.8107, allocations: 4 kB / 459.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.8123, allocations: 285.5 kB / 459.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.816, allocations: 1.09 MB / 460.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007853/0.8239, allocations: 490.2 kB / 461 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/0.8248, allocations: 156.8 kB / 461.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.8249, allocations: 0 / 461.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.8249, allocations: 34.56 kB / 461.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.236e-06/0.825, allocations: 4 kB / 461.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.01464/0.8396, allocations: 1.155 MB / 462.3 MB, free: 9.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.8398, allocations: 55.41 kB / 462.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.8403, allocations: 212.2 kB / 462.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/0.8405, allocations: 25.7 kB / 462.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.8407, allocations: 160.1 kB / 462.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.8408, allocations: 51.27 kB / 462.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.8409, allocations: 3.938 kB / 462.8 MB, free: 9.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.8411, allocations: 330.8 kB / 463.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/0.8419, allocations: 115.9 kB / 463.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/0.8427, allocations: 133.6 kB / 463.4 MB, free: 8.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.8442, allocations: 250.8 kB / 463.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.8442, allocations: 3.938 kB / 463.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.006097/0.8503, allocations: 0.7022 MB / 464.3 MB, free: 7.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.8505, allocations: 4 kB / 464.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.8505, allocations: 0 / 464.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.852, allocations: 232.7 kB / 464.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.8524, allocations: 35.92 kB / 464.6 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/0.8703, allocations: 2.614 MB / 467.2 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.8708, allocations: 43.97 kB / 467.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.8709, allocations: 4 kB / 467.2 MB, free: 4.652 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.0002746/0.8712, allocations: 129.8 kB / 467.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.8713, allocations: 27.66 kB / 467.4 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.735e-05/0.8714, allocations: 21.53 kB / 467.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.8714, allocations: 8.078 kB / 467.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8714, allocations: 0 / 467.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.8715, allocations: 3.984 kB / 467.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006441/0.8721, allocations: 325.4 kB / 467.7 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8721, allocations: 0 / 467.7 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.8724, allocations: 35.91 kB / 467.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009654/0.8733, allocations: 232.6 kB / 468 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.8734, allocations: 4 kB / 468 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.8876, allocations: 2.603 MB / 470.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.8877, allocations: 4.031 kB / 470.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/0.8926, allocations: 0.9174 MB / 471.5 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.8928, allocations: 96.88 kB / 471.6 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/0.8929, allocations: 0 / 471.6 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.8934, allocations: 43.91 kB / 471.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.8935, allocations: 12.05 kB / 471.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.8935, allocations: 8 kB / 471.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003501/0.8939, allocations: 157.6 kB / 471.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.476e-06/0.8939, allocations: 0 / 471.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008914/0.8948, allocations: 91.78 kB / 471.9 MB, free: 15.72 MB / 362.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.0002857/0.8951, allocations: 103.2 kB / 472 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.8974, allocations: 496 kB / 472.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.8975, allocations: 4 kB / 472.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.899, allocations: 370.4 kB / 472.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.8997, allocations: 28.66 kB / 472.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.9031, allocations: 0.7003 MB / 473.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.9037, allocations: 0.7478 MB / 474.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.9038, allocations: 15.44 kB / 474.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of SimCode: time 2.344e-06/0.9038, allocations: 0 / 474.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of Templates: time 0.01598/0.9198, allocations: 4.065 MB / 478.4 MB, free: 9.125 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