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.001157/0.001158, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008219/0.0008219, allocations: 94.22 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.807e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.08049, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3163/0.3969, allocations: 76.89 MB / 440 MB, free: 2.746 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.3972, allocations: 68.91 kB / 440 MB, free: 2.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01343/0.4106, allocations: 4.609 MB / 444.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4107, allocations: 0 / 444.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.4107, allocations: 11.98 kB / 444.7 MB, free: 14.78 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.000895/0.4116, allocations: 0.5206 MB / 445.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4116, allocations: 8.031 kB / 445.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.4117, allocations: 31.62 kB / 445.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.412, allocations: 251.8 kB / 445.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.412, allocations: 8 kB / 445.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.4121, allocations: 12.75 kB / 445.5 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003134/0.4124, allocations: 172.3 kB / 445.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.4128, allocations: 217.9 kB / 445.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4128, allocations: 0 / 445.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.4128, allocations: 0 / 445.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.4128, allocations: 8 kB / 445.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.4144, allocations: 1.035 MB / 446.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.4157, allocations: 334.6 kB / 447.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.4159, allocations: 102.7 kB / 447.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4159, allocations: 3.562 kB / 447.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.4159, allocations: 40.72 kB / 447.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.4159, allocations: 0 / 447.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.00251/0.4185, allocations: 0.5052 MB / 447.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4185, allocations: 55.41 kB / 447.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.4187, allocations: 170.5 kB / 448.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4187, allocations: 25.7 kB / 448.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4188, allocations: 167.3 kB / 448.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.4189, allocations: 42.86 kB / 448.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.4189, allocations: 0 / 448.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.419, allocations: 333.8 kB / 448.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4192, allocations: 57.42 kB / 448.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.4193, allocations: 82.33 kB / 448.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.4194, allocations: 58.11 kB / 448.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4194, allocations: 0 / 448.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002376/0.4218, allocations: 0.53 MB / 449.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.4218, allocations: 8 kB / 449.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4219, allocations: 0 / 449.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.4222, allocations: 137.6 kB / 449.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.4224, allocations: 34.92 kB / 449.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.4268, allocations: 2.105 MB / 451.7 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.4271, allocations: 31.83 kB / 451.7 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.4272, allocations: 7.984 kB / 451.7 MB, free: 8.285 MB / 330.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.0001734/0.4273, allocations: 109 kB / 451.8 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.4274, allocations: 15.81 kB / 451.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.4274, allocations: 23.89 kB / 451.8 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4275, allocations: 7.953 kB / 451.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4275, allocations: 0 / 451.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4275, allocations: 3.938 kB / 451.9 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.4278, allocations: 282.4 kB / 452.1 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4278, allocations: 4 kB / 452.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.428, allocations: 39.34 kB / 452.2 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.4283, allocations: 127.9 kB / 452.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4283, allocations: 4 kB / 452.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/0.4327, allocations: 2.135 MB / 454.4 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4328, allocations: 96 / 454.4 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.4353, allocations: 0.7032 MB / 455.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.166e-05/0.4354, allocations: 96.88 kB / 455.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.4354, allocations: 0 / 455.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.4357, allocations: 40.03 kB / 455.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.4358, allocations: 15.36 kB / 455.3 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4358, allocations: 4 kB / 455.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.4359, allocations: 137.2 kB / 455.4 MB, free: 4.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4359, allocations: 0 / 455.4 MB, free: 4.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.4364, allocations: 79.75 kB / 455.5 MB, free: 4.719 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.0001847/0.4366, allocations: 107.2 kB / 455.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.4377, allocations: 352.2 kB / 456 MB, free: 4.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4377, allocations: 0 / 456 MB, free: 4.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009239/0.4387, allocations: 305.3 kB / 456.2 MB, free: 4.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.4389, allocations: 27.5 kB / 456.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008785/0.4398, allocations: 352.6 kB / 456.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.4402, allocations: 0.7514 MB / 457.4 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.833e-05/0.4402, allocations: 9.203 kB / 457.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.4403, allocations: 15.44 kB / 457.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4403, allocations: 0 / 457.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of Templates: time 0.007092/0.4474, allocations: 3.87 MB / 461.3 MB, free: 15.02 MB / 346.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