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.001655/0.001654, allocations: 117.2 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002105/0.002105, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3753, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.005203/0.3805, allocations: 2.729 MB / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.3823, allocations: 0.709 MB / 412.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.3825, allocations: 4 kB / 412.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.3828, allocations: 43.58 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.383, allocations: 79.2 kB / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.3835, allocations: 119.7 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004984/0.384, allocations: 354.6 kB / 413.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.3843, allocations: 92.69 kB / 413.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.3846, allocations: 143.5 kB / 413.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.3849, allocations: 163.3 kB / 413.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.3849, allocations: 28 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3851, allocations: 44 kB / 413.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.3851, allocations: 63.8 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.3853, allocations: 151.2 kB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.3858, allocations: 355.9 kB / 414.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3859, allocations: 0 / 414.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3859, allocations: 0 / 414.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3859, allocations: 0 / 414.3 MB, free: 12.54 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.001831/0.3877, allocations: 0.6354 MB / 414.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.3878, allocations: 12.03 kB / 414.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.3881, allocations: 40.55 kB / 415 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.3886, allocations: 264.7 kB / 415.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3886, allocations: 12.81 kB / 415.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.3887, allocations: 24.38 kB / 415.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008553/0.3895, allocations: 298.9 kB / 415.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.3896, allocations: 4 kB / 415.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.3896, allocations: 11.98 kB / 415.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3897, allocations: 7.938 kB / 415.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.3905, allocations: 269.6 kB / 415.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.3922, allocations: 1.066 MB / 416.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.3942, allocations: 434.3 kB / 417.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.3946, allocations: 148.7 kB / 417.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.3946, allocations: 4 kB / 417.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3947, allocations: 38.55 kB / 417.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.3947, allocations: 0 / 417.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.005841/0.4005, allocations: 1.018 MB / 418.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.4006, allocations: 55.59 kB / 418.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.401, allocations: 224.9 kB / 418.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.401, allocations: 29.7 kB / 418.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.4012, allocations: 156.1 kB / 419 MB, free: 7.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.4013, allocations: 51.27 kB / 419 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.4014, allocations: 37.69 kB / 419.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4016, allocations: 330.8 kB / 419.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.4021, allocations: 103.9 kB / 419.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.4026, allocations: 128.5 kB / 419.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/0.4035, allocations: 221.6 kB / 419.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4035, allocations: 0 / 419.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003779/0.4073, allocations: 0.6453 MB / 420.5 MB, free: 6.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.4073, allocations: 4 kB / 420.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.4074, allocations: 4 kB / 420.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.4084, allocations: 224.6 kB / 420.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.4086, allocations: 31.98 kB / 420.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008669/0.4173, allocations: 2.743 MB / 423.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.4177, allocations: 35.86 kB / 423.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.4178, allocations: 7.984 kB / 423.5 MB, free: 2.859 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.0002846/0.4181, allocations: 137.8 kB / 423.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.4182, allocations: 23.72 kB / 423.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/0.4183, allocations: 29.77 kB / 423.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4183, allocations: 4 kB / 423.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4183, allocations: 3.938 kB / 423.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4183, allocations: 0 / 423.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.4189, allocations: 329.3 kB / 424.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4189, allocations: 0 / 424.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.4191, allocations: 27.98 kB / 424.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008575/0.4199, allocations: 220.6 kB / 424.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.42, allocations: 4 kB / 424.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008815/0.4288, allocations: 2.731 MB / 427 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4289, allocations: 0 / 427 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/0.4331, allocations: 0.8472 MB / 427.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.4332, allocations: 96.88 kB / 428 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.4333, allocations: 8 kB / 428 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.4337, allocations: 28.06 kB / 428 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.4338, allocations: 15.97 kB / 428 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.4338, allocations: 4 kB / 428 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.4341, allocations: 168.5 kB / 428.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4341, allocations: 0 / 428.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006982/0.4348, allocations: 79.75 kB / 428.3 MB, free: 13.88 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.0002313/0.435, allocations: 110.5 kB / 428.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.4372, allocations: 450.4 kB / 428.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.4372, allocations: 0 / 428.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.4385, allocations: 326.5 kB / 429.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.4391, allocations: 46.88 kB / 429.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.441, allocations: 0.5531 MB / 429.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4414, allocations: 0.7476 MB / 430.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.4415, allocations: 13.53 kB / 430.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.4415, allocations: 15.44 kB / 430.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4415, allocations: 0 / 430.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Templates: time 0.008652/0.4502, allocations: 4.964 MB / 435.5 MB, free: 6.609 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