Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009344/0.0009345, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009092/0.0009092, allocations: 99.03 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.567e-05, allocations: 8 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 51.48 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3068/0.4257, allocations: 78.97 MB / 474.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.4259, allocations: 74.84 kB / 474.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0128/0.4387, allocations: 4.882 MB / 479.1 MB, free: 9.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4387, allocations: 0 / 479.1 MB, free: 9.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4388, allocations: 4 kB / 479.1 MB, free: 9.926 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.0007944/0.4396, allocations: 0.532 MB / 479.6 MB, free: 9.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4396, allocations: 8.031 kB / 479.6 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.4398, allocations: 47.48 kB / 479.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.44, allocations: 249.1 kB / 479.9 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.44, allocations: 12 kB / 479.9 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.4401, allocations: 12 kB / 480 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002857/0.4404, allocations: 161 kB / 480.1 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.4407, allocations: 222.1 kB / 480.3 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4407, allocations: 3.984 kB / 480.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.4408, allocations: 0 / 480.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4408, allocations: 8 kB / 480.3 MB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.4422, allocations: 1.029 MB / 481.4 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.4434, allocations: 331.7 kB / 481.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.4436, allocations: 97.66 kB / 481.8 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.4436, allocations: 6.812 kB / 481.8 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.4436, allocations: 34.56 kB / 481.8 MB, free: 7.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.4436, allocations: 0 / 481.8 MB, free: 7.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.002306/0.446, allocations: 0.512 MB / 482.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.446, allocations: 51.41 kB / 482.4 MB, free: 6.895 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.4462, allocations: 171.2 kB / 482.6 MB, free: 6.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4462, allocations: 25.7 kB / 482.6 MB, free: 6.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.4463, allocations: 157.8 kB / 482.7 MB, free: 6.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.4463, allocations: 54.11 kB / 482.8 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.4463, allocations: 0 / 482.8 MB, free: 6.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.4464, allocations: 333.6 kB / 483.1 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.4465, allocations: 52.12 kB / 483.2 MB, free: 6.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.711e-05/0.4466, allocations: 78.98 kB / 483.2 MB, free: 6.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.73e-05/0.4467, allocations: 60.16 kB / 483.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4467, allocations: 0 / 483.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002157/0.4489, allocations: 0.534 MB / 483.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4489, allocations: 8 kB / 483.8 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4489, allocations: 0 / 483.8 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.4492, allocations: 132.5 kB / 484 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4494, allocations: 47.72 kB / 484 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/0.4532, allocations: 2.087 MB / 486.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.4535, allocations: 43.94 kB / 486.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.4535, allocations: 4 kB / 486.2 MB, free: 3.438 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: zDiode.v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real 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.0001188/0.4536, allocations: 110 kB / 486.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.4537, allocations: 19.8 kB / 486.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.4537, allocations: 24.39 kB / 486.3 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4537, allocations: 3.953 kB / 486.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.4537, allocations: 4 kB / 486.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4538, allocations: 0 / 486.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.454, allocations: 295 kB / 486.6 MB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.454, allocations: 0 / 486.6 MB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.4542, allocations: 27.98 kB / 486.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.4544, allocations: 136.6 kB / 486.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.4544, allocations: 6.359 kB / 486.8 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00403/0.4584, allocations: 2.131 MB / 488.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4584, allocations: 0 / 488.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.4607, allocations: 0.7013 MB / 489.6 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.4608, allocations: 95.7 kB / 489.7 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4608, allocations: 64 / 489.7 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.4611, allocations: 39.97 kB / 489.7 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.4611, allocations: 7.984 kB / 489.7 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.4612, allocations: 11.3 kB / 489.8 MB, free: 68 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.4613, allocations: 137 kB / 489.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4613, allocations: 4 kB / 489.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004526/0.4618, allocations: 83.75 kB / 490 MB, free: 15.87 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 () * 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.000174/0.4619, allocations: 111.1 kB / 490.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.463, allocations: 347.3 kB / 490.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.463, allocations: 0 / 490.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008956/0.4639, allocations: 305.4 kB / 490.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.4642, allocations: 20.67 kB / 490.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/0.4651, allocations: 360.9 kB / 491.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.4655, allocations: 0.7514 MB / 491.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.129e-05/0.4656, allocations: 17.19 kB / 491.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.4656, allocations: 19.38 kB / 491.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4656, allocations: 0 / 491.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of Templates: time 0.006998/0.4726, allocations: 3.882 MB / 495.8 MB, free: 10.22 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches