Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001642, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009565, allocations: 98.09 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003143, allocations: 8 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2498, allocations: 50.41 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3508, allocations: 78.94 MB / 481.7 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.351, allocations: 69.22 kB / 481.7 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01376/0.3648, allocations: 4.826 MB / 486.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3648, allocations: 0 / 486.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.3649, allocations: 8 kB / 486.6 MB, free: 12.48 MB / 362.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.001085/0.366, allocations: 0.5575 MB / 487.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/0.366, allocations: 16.02 kB / 487.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3662, allocations: 32.56 kB / 487.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3665, allocations: 252.7 kB / 487.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3666, allocations: 16.81 kB / 487.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.3666, allocations: 16.38 kB / 487.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.3673, allocations: 311.1 kB / 487.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3674, allocations: 192 / 487.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.3674, allocations: 15.94 kB / 487.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3674, allocations: 4 kB / 487.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007946/0.3682, allocations: 293.5 kB / 488.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.3701, allocations: 1.077 MB / 489.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.372, allocations: 490.2 kB / 489.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.3724, allocations: 152.8 kB / 489.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.3724, allocations: 4 kB / 489.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.3725, allocations: 42.5 kB / 489.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.3725, allocations: 0 / 489.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.005492/0.378, allocations: 1.151 MB / 491 MB, free: 7.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.3781, allocations: 55.41 kB / 491 MB, free: 7.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.3785, allocations: 224 kB / 491.2 MB, free: 7.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.3785, allocations: 29.7 kB / 491.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.3787, allocations: 160.2 kB / 491.4 MB, free: 7.352 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/0.3788, allocations: 47.27 kB / 491.5 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.3788, allocations: 4 kB / 491.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.379, allocations: 330.8 kB / 491.8 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.3794, allocations: 115.9 kB / 491.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.3798, allocations: 132.5 kB / 492.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/0.3805, allocations: 249.5 kB / 492.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3805, allocations: 0 / 492.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002942/0.3834, allocations: 0.6891 MB / 493 MB, free: 5.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3835, allocations: 14.5 kB / 493 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3835, allocations: 0 / 493 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/0.3842, allocations: 232.7 kB / 493.2 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3844, allocations: 35.92 kB / 493.3 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006397/0.3908, allocations: 2.622 MB / 495.9 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.3911, allocations: 47.78 kB / 495.9 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.3912, allocations: 7.984 kB / 495.9 MB, free: 2.684 MB / 362.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 () * 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 (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.0001614/0.3913, allocations: 125.8 kB / 496.1 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.3914, allocations: 27.66 kB / 496.1 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.3915, allocations: 25.53 kB / 496.1 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3915, allocations: 3.984 kB / 496.1 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3915, allocations: 4 kB / 496.1 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3915, allocations: 0 / 496.1 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.3919, allocations: 321.4 kB / 496.4 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3919, allocations: 0 / 496.4 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.392, allocations: 27.98 kB / 496.5 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006097/0.3927, allocations: 244.5 kB / 496.7 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3927, allocations: 7.984 kB / 496.7 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/0.3989, allocations: 2.599 MB / 499.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3989, allocations: 0 / 499.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/0.4021, allocations: 0.9183 MB / 0.4885 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.4023, allocations: 96.88 kB / 0.4886 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.4023, allocations: 4 kB / 0.4886 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.4027, allocations: 47.91 kB / 0.4886 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.4027, allocations: 16 kB / 0.4887 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.4028, allocations: 8 kB / 0.4887 GB, free: 13.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001628/0.4029, allocations: 153.8 kB / 0.4888 GB, free: 13.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4029, allocations: 0 / 0.4888 GB, free: 13.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005013/0.4034, allocations: 83.84 kB / 0.4889 GB, free: 13.76 MB / 378.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 () * 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 (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.0001949/0.4036, allocations: 103.2 kB / 0.489 GB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.4053, allocations: 494.9 kB / 0.4895 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4053, allocations: 0 / 0.4895 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.4064, allocations: 371.3 kB / 0.4898 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.4069, allocations: 32.66 kB / 0.4898 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.4082, allocations: 0.6627 MB / 0.4905 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.4086, allocations: 0.7478 MB / 0.4912 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.18e-05/0.4087, allocations: 13.55 kB / 0.4912 GB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.4087, allocations: 15.44 kB / 0.4913 GB, free: 11.25 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4087, allocations: 0 / 0.4913 GB, free: 11.25 MB / 378.7 MB Notification: Performance of Templates: time 0.008839/0.4175, allocations: 4.507 MB / 0.4957 GB, free: 6.77 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches