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.001566/0.001565, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.961/1.961, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001109/0.00111, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.078e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 47.58 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.4954, allocations: 77.31 MB / 446.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.4957, allocations: 79.28 kB / 446.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02253/0.5183, allocations: 4.647 MB / 451.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5183, allocations: 0 / 451.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.5184, allocations: 8 kB / 451.1 MB, free: 11.81 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.001438/0.5198, allocations: 0.5247 MB / 451.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5199, allocations: 8.031 kB / 451.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.52, allocations: 31.62 kB / 451.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.5204, allocations: 259.3 kB / 451.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.5205, allocations: 15 kB / 452 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.5206, allocations: 19.31 kB / 452 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.5212, allocations: 242.8 kB / 452.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5213, allocations: 4 kB / 452.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.5213, allocations: 6.812 kB / 452.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.5213, allocations: 4 kB / 452.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.5219, allocations: 184.1 kB / 452.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/0.5246, allocations: 1.082 MB / 453.5 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.5269, allocations: 339.8 kB / 453.8 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.5273, allocations: 107.7 kB / 453.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.5273, allocations: 0 / 453.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.5274, allocations: 37.75 kB / 454 MB, free: 9.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.5274, allocations: 0 / 454 MB, free: 9.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.004526/0.5319, allocations: 0.5222 MB / 454.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.532, allocations: 51.41 kB / 454.5 MB, free: 8.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.5323, allocations: 192.5 kB / 454.7 MB, free: 8.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.5324, allocations: 37.2 kB / 454.8 MB, free: 8.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5326, allocations: 212.3 kB / 455 MB, free: 8.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.5326, allocations: 46.73 kB / 455 MB, free: 8.254 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.5327, allocations: 0 / 455 MB, free: 8.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5328, allocations: 326.3 kB / 455.3 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.533, allocations: 61.3 kB / 455.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.5333, allocations: 82.2 kB / 455.5 MB, free: 7.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.5335, allocations: 68.48 kB / 455.5 MB, free: 7.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.5335, allocations: 0 / 455.5 MB, free: 7.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.004437/0.538, allocations: 0.5313 MB / 456.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.538, allocations: 4 kB / 456.1 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.5381, allocations: 4 kB / 456.1 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.5386, allocations: 136.7 kB / 456.2 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.5389, allocations: 35.55 kB / 456.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00836/0.5473, allocations: 2.194 MB / 458.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.5479, allocations: 35.95 kB / 458.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.5479, allocations: 15.61 kB / 458.5 MB, free: 5.027 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 0.000136/0.5481, allocations: 112.1 kB / 458.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.5481, allocations: 19.77 kB / 458.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.5482, allocations: 26.14 kB / 458.6 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.5482, allocations: 4 kB / 458.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5483, allocations: 0 / 458.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5483, allocations: 0 / 458.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.5488, allocations: 331.2 kB / 459 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5488, allocations: 4 kB / 459 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.5491, allocations: 27.98 kB / 459 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/0.5496, allocations: 139 kB / 459.1 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.5496, allocations: 7.984 kB / 459.2 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008182/0.5578, allocations: 2.176 MB / 461.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.5579, allocations: 0 / 461.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/0.5627, allocations: 0.7164 MB / 462 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.5629, allocations: 100.8 kB / 462.1 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.5629, allocations: 8 kB / 462.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.5635, allocations: 40.03 kB / 462.2 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.5635, allocations: 11.98 kB / 462.2 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.5636, allocations: 4 kB / 462.2 MB, free: 1.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.5638, allocations: 165.8 kB / 462.4 MB, free: 1.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5638, allocations: 0 / 462.4 MB, free: 1.293 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006178/0.5645, allocations: 79.84 kB / 462.4 MB, free: 1.215 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.0001992/0.5647, allocations: 107.2 kB / 462.5 MB, free: 1.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.5667, allocations: 378.4 kB / 462.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5668, allocations: 0 / 462.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.5684, allocations: 310.6 kB / 463.2 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.5689, allocations: 32.53 kB / 463.3 MB, free: 380 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.5703, allocations: 405.5 kB / 463.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.5707, allocations: 0.748 MB / 464.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.5708, allocations: 15.44 kB / 464.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/0.5708, allocations: 0 / 464.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Templates: time 0.009378/0.5802, allocations: 3.938 MB / 468.4 MB, free: 11.22 MB / 346.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