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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3392, allocations: 50.54 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003865/0.3431, allocations: 2.726 MB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3444, allocations: 0.7051 MB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.3445, allocations: 4 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.3447, allocations: 51.5 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.3448, allocations: 71.28 kB / 412.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.3452, allocations: 111.8 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.3457, allocations: 362.6 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.3459, allocations: 92.69 kB / 413.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.3461, allocations: 143.5 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.3463, allocations: 167.3 kB / 413.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.3464, allocations: 28 kB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.534e-05/0.3465, allocations: 32 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.3465, allocations: 71.81 kB / 413.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.3467, allocations: 151.3 kB / 413.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.3471, allocations: 350.5 kB / 414.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3471, allocations: 0 / 414.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3471, allocations: 0 / 414.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.3471, allocations: 0 / 414.3 MB, free: 12.53 MB / 334.1 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.001455/0.3486, allocations: 0.6545 MB / 414.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3486, allocations: 12.03 kB / 415 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.3488, allocations: 40.73 kB / 415 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.3492, allocations: 260.8 kB / 415.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3492, allocations: 16.81 kB / 415.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.3492, allocations: 24.36 kB / 415.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.3499, allocations: 298.9 kB / 415.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3499, allocations: 0 / 415.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.3499, allocations: 15.88 kB / 415.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.35, allocations: 4 kB / 415.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/0.3507, allocations: 269.6 kB / 415.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.3523, allocations: 1.07 MB / 416.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.3541, allocations: 438.3 kB / 417.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.3545, allocations: 140.8 kB / 417.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3546, allocations: 4 kB / 417.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3546, allocations: 38.5 kB / 417.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.3546, allocations: 4 kB / 417.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.004593/0.3592, allocations: 1.015 MB / 418.6 MB, free: 8.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3593, allocations: 51.41 kB / 418.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.3595, allocations: 225 kB / 418.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.3595, allocations: 29.64 kB / 418.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.3596, allocations: 164.2 kB / 419 MB, free: 7.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.3597, allocations: 51.62 kB / 419.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.3598, allocations: 37.66 kB / 419.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3599, allocations: 330.8 kB / 419.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.3603, allocations: 107.9 kB / 419.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.3606, allocations: 132.5 kB / 419.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.3613, allocations: 221.5 kB / 419.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3613, allocations: 0 / 419.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002738/0.364, allocations: 0.6307 MB / 420.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3641, allocations: 7.125 kB / 420.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3641, allocations: 0 / 420.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.3648, allocations: 216.7 kB / 420.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.365, allocations: 43.91 kB / 420.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006454/0.3715, allocations: 2.747 MB / 423.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.3718, allocations: 39.89 kB / 423.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3718, allocations: 4 kB / 423.6 MB, free: 2.824 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.372, allocations: 137.8 kB / 423.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.3721, allocations: 23.84 kB / 423.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.3721, allocations: 21.84 kB / 423.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3722, allocations: 7.875 kB / 423.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3722, allocations: 4 kB / 423.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3722, allocations: 3.984 kB / 423.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.3726, allocations: 325.2 kB / 424.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3726, allocations: 4 kB / 424.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.3727, allocations: 27.97 kB / 424.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006327/0.3734, allocations: 224.7 kB / 424.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3734, allocations: 3.984 kB / 424.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006006/0.3794, allocations: 2.735 MB / 427.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3794, allocations: 3.984 kB / 427.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.3824, allocations: 0.8468 MB / 427.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.599e-05/0.3825, allocations: 105 kB / 428 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.3826, allocations: 8 kB / 428 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.3828, allocations: 31.97 kB / 428.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.3829, allocations: 7.984 kB / 428.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.3829, allocations: 7.984 kB / 428.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.3831, allocations: 160.5 kB / 428.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3831, allocations: 4 kB / 428.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004933/0.3836, allocations: 75.89 kB / 428.3 MB, free: 13.84 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002099/0.3838, allocations: 115.2 kB / 428.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.3854, allocations: 446.4 kB / 428.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.3854, allocations: 0 / 428.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009772/0.3864, allocations: 330.5 kB / 429.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3868, allocations: 36.66 kB / 429.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3881, allocations: 0.5667 MB / 429.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3885, allocations: 0.7398 MB / 430.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.35e-05/0.3886, allocations: 17.55 kB / 430.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.3886, allocations: 15.44 kB / 430.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3886, allocations: 0 / 430.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Templates: time 0.008963/0.3976, allocations: 4.969 MB / 435.5 MB, free: 6.559 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches