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.001003/0.001003, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.387/1.387, allocations: 205.4 MB / 223.1 MB, free: 9.035 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.0008573/0.0008573, allocations: 93.16 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002802, allocations: 8 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.27, allocations: 47.57 MB / 375.8 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4077, allocations: 77.41 MB / 453.2 MB, free: 3.258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.4081, allocations: 71.97 kB / 453.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01877/0.4269, allocations: 4.655 MB / 457.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.427, allocations: 0 / 457.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.427, allocations: 4 kB / 457.9 MB, free: 14.51 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.001428/0.4284, allocations: 0.5534 MB / 458.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.4285, allocations: 11.97 kB / 458.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.4286, allocations: 35.7 kB / 458.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.429, allocations: 251.5 kB / 458.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.4291, allocations: 12.44 kB / 458.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.4292, allocations: 20 kB / 458.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4302, allocations: 302.6 kB / 459.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4302, allocations: 0 / 459.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.4303, allocations: 8 kB / 459.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4303, allocations: 7.938 kB / 459.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.4315, allocations: 289.5 kB / 459.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.4339, allocations: 1.09 MB / 460.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/0.4368, allocations: 486.3 kB / 461 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.4368, allocations: 3.984 kB / 461 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.4369, allocations: 42.56 kB / 461 MB, free: 11.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 5.861e-06/0.4369, allocations: 0 / 461 MB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.007766/0.4447, allocations: 1.142 MB / 462.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4448, allocations: 51.41 kB / 462.2 MB, free: 9.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.4451, allocations: 191.4 kB / 462.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.4452, allocations: 29.7 kB / 462.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.4453, allocations: 164 kB / 462.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.4454, allocations: 51.34 kB / 462.6 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.4454, allocations: 4 kB / 462.7 MB, free: 9.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4456, allocations: 338.7 kB / 463 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.4461, allocations: 111.9 kB / 463.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.4467, allocations: 133.6 kB / 463.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.4472, allocations: 119.8 kB / 463.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4472, allocations: 4 kB / 463.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00424/0.4515, allocations: 0.6909 MB / 464 MB, free: 8.137 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.4515, allocations: 4 kB / 464 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4515, allocations: 3.984 kB / 464 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.4526, allocations: 236.6 kB / 464.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.4528, allocations: 31.98 kB / 464.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009587/0.4624, allocations: 2.697 MB / 467 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.4629, allocations: 39.97 kB / 467 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.4629, allocations: 11.98 kB / 467.1 MB, free: 4.977 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.0002387/0.4632, allocations: 125.8 kB / 467.2 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.4633, allocations: 23.77 kB / 467.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/0.4633, allocations: 21.53 kB / 467.2 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4634, allocations: 11.98 kB / 467.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4634, allocations: 0 / 467.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4634, allocations: 0 / 467.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.4639, allocations: 321.3 kB / 467.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4639, allocations: 4 kB / 467.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.4641, allocations: 35.92 kB / 467.6 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008913/0.465, allocations: 232.6 kB / 467.8 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.4651, allocations: 7.984 kB / 467.8 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009264/0.4744, allocations: 2.681 MB / 470.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.4744, allocations: 4.031 kB / 470.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/0.4794, allocations: 0.9137 MB / 471.4 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.4795, allocations: 100.9 kB / 471.5 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.4796, allocations: 0 / 471.5 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.48, allocations: 35.97 kB / 471.5 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.4801, allocations: 11.98 kB / 471.6 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.4802, allocations: 8.062 kB / 471.6 MB, free: 228 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002208/0.4804, allocations: 157.8 kB / 471.7 MB, free: 72 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4804, allocations: 0 / 471.7 MB, free: 72 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.000734/0.4811, allocations: 87.7 kB / 471.8 MB, free: 15.98 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.0002214/0.4814, allocations: 107.2 kB / 471.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.4838, allocations: 497.8 kB / 472.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4838, allocations: 4 kB / 472.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.4855, allocations: 358.5 kB / 472.8 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.4859, allocations: 39.47 kB / 472.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.4878, allocations: 0.6638 MB / 473.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.4883, allocations: 0.7517 MB / 474.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.4884, allocations: 21.53 kB / 474.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.4885, allocations: 15.44 kB / 474.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4885, allocations: 3.938 kB / 474.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of Templates: time 0.01105/0.4995, allocations: 4.463 MB / 478.7 MB, free: 9.016 MB / 362.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