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.001435/0.001435, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.389/1.389, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.001008/0.001008, allocations: 92.08 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002747, allocations: 11.94 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2527, allocations: 50.39 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09101/0.3438, allocations: 78.9 MB / 480.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.344, allocations: 75.94 kB / 480.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01313/0.3571, allocations: 4.819 MB / 485.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3571, allocations: 0 / 485.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.3572, allocations: 12 kB / 485.3 MB, free: 12.66 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.0009032/0.3581, allocations: 0.5573 MB / 485.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3581, allocations: 12.03 kB / 485.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.3582, allocations: 35.62 kB / 485.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3585, allocations: 259.4 kB / 486.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3585, allocations: 12.44 kB / 486.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.3585, allocations: 20 kB / 486.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005928/0.3591, allocations: 306.6 kB / 486.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3592, allocations: 0 / 486.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3592, allocations: 8 kB / 486.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3592, allocations: 4 kB / 486.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007261/0.3599, allocations: 289.5 kB / 486.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.3614, allocations: 1.077 MB / 487.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.3634, allocations: 482.3 kB / 488.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3634, allocations: 4 kB / 488.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.3634, allocations: 38.56 kB / 488.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.3634, allocations: 0 / 488.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.005382/0.3688, allocations: 1.152 MB / 489.5 MB, free: 8.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3689, allocations: 59.34 kB / 489.6 MB, free: 8.133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.369, allocations: 191.3 kB / 489.8 MB, free: 7.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3691, allocations: 33.7 kB / 489.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.3692, allocations: 160.1 kB / 490 MB, free: 7.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.3692, allocations: 43.36 kB / 490 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.3692, allocations: 4 kB / 490 MB, free: 7.691 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3693, allocations: 330.8 kB / 490.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.3697, allocations: 119.9 kB / 490.4 MB, free: 7.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.37, allocations: 136.3 kB / 490.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.3703, allocations: 111.9 kB / 490.7 MB, free: 6.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3703, allocations: 4 kB / 490.7 MB, free: 6.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00304/0.3734, allocations: 0.7008 MB / 491.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3734, allocations: 7.938 kB / 491.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3734, allocations: 0 / 491.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007102/0.3741, allocations: 232.7 kB / 491.6 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3743, allocations: 31.98 kB / 491.7 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00687/0.3812, allocations: 2.7 MB / 494.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.3815, allocations: 43.91 kB / 494.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.3815, allocations: 8 kB / 494.4 MB, free: 3.129 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.0001396/0.3817, allocations: 129.8 kB / 494.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.3817, allocations: 19.8 kB / 494.5 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.3818, allocations: 21.53 kB / 494.6 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3818, allocations: 8 kB / 494.6 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.3818, allocations: 0 / 494.6 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3818, allocations: 3.953 kB / 494.6 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.3822, allocations: 325.3 kB / 494.9 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3822, allocations: 4 kB / 494.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3823, allocations: 35.97 kB / 494.9 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006093/0.383, allocations: 236.6 kB / 495.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.383, allocations: 0 / 495.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006572/0.3896, allocations: 2.685 MB / 497.9 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3896, allocations: 0 / 497.9 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/0.393, allocations: 0.9175 MB / 498.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.3931, allocations: 96.95 kB / 498.9 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3931, allocations: 11.98 kB / 498.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.3934, allocations: 31.98 kB / 498.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.3934, allocations: 11.98 kB / 498.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.3935, allocations: 11.98 kB / 498.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.3936, allocations: 161.6 kB / 499.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3936, allocations: 0 / 499.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.394, allocations: 79.84 kB / 499.2 MB, free: 14.12 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.0001408/0.3941, allocations: 103.2 kB / 499.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.3957, allocations: 497.1 kB / 499.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3957, allocations: 0 / 499.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.3969, allocations: 362.5 kB / 0.4884 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3972, allocations: 47.45 kB / 0.4884 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.3984, allocations: 0.6635 MB / 0.4891 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3987, allocations: 0.7518 MB / 0.4898 GB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.27e-05/0.3988, allocations: 17.55 kB / 0.4898 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.3988, allocations: 15.44 kB / 0.4898 GB, free: 11.6 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3988, allocations: 0 / 0.4898 GB, free: 11.6 MB / 378.7 MB Notification: Performance of Templates: time 0.007112/0.4059, allocations: 4.465 MB / 0.4942 GB, free: 7.16 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/jenkins/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