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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 76.06 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 143.8 kB / 24.98 MB, free: 9.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9825/0.9825, allocations: 173.3 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.356e-05, allocations: 6.25 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002845/0.002869, allocations: 2.703 MB / 270.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.003728, allocations: 0.6581 MB / 271.4 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.003825, allocations: 4 kB / 271.4 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.003943, allocations: 51.5 kB / 271.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.004053, allocations: 83.28 kB / 271.6 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.004289, allocations: 95.78 kB / 271.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.004826, allocations: 370.3 kB / 272 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.004975, allocations: 64.88 kB / 272.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.005204, allocations: 215.5 kB / 272.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.005333, allocations: 127.6 kB / 272.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.005372, allocations: 32 kB / 272.5 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.898e-05/0.005401, allocations: 28 kB / 272.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.005447, allocations: 75.72 kB / 272.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.005527, allocations: 99.81 kB / 272.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.00576, allocations: 247.2 kB / 272.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005763, allocations: 0 / 272.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005764, allocations: 0 / 272.9 MB, free: 1.852 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.00577, allocations: 0 / 272.9 MB, free: 1.852 MB / 250.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.0007709/0.006541, allocations: 0.6364 MB / 273.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.006577, allocations: 12.91 kB / 273.6 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.374e-05/0.006651, allocations: 48.75 kB / 273.6 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.006877, allocations: 205 kB / 273.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.006892, allocations: 12.88 kB / 273.8 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.006938, allocations: 24.38 kB / 273.8 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.007292, allocations: 296.7 kB / 274.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.0073, allocations: 4.172 kB / 274.1 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.007322, allocations: 16.31 kB / 274.1 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.00733, allocations: 7.938 kB / 274.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.007511, allocations: 94.92 kB / 274.2 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.008513, allocations: 1.025 MB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.009071, allocations: 207 kB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.009184, allocations: 67.59 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.009203, allocations: 7.938 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.009225, allocations: 37.39 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.009226, allocations: 4 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001673/0.0109, allocations: 0.5585 MB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.01093, allocations: 59.41 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.01109, allocations: 257.4 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.01111, allocations: 29.7 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01121, allocations: 211.1 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.01125, allocations: 47.53 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.01131, allocations: 47.34 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.01144, allocations: 0.4962 MB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.01151, allocations: 35.91 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.831e-05/0.0116, allocations: 58.31 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.01176, allocations: 91.34 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01176, allocations: 4 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009623/0.01272, allocations: 396.7 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01274, allocations: 10.66 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01274, allocations: 0 / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004382/0.01318, allocations: 151.5 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.01327, allocations: 31.98 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.01602, allocations: 2.391 MB / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.01614, allocations: 27.88 kB / 280.5 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.01615, allocations: 7.984 kB / 280.5 MB, free: 9.875 MB / 266.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 (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.0001228/0.01627, allocations: 164.5 kB / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.01632, allocations: 23.91 kB / 280.7 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.01636, allocations: 29.45 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01636, allocations: 4 kB / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01636, allocations: 0 / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.01637, allocations: 0 / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.0166, allocations: 220.5 kB / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.0166, allocations: 0 / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.01669, allocations: 27.92 kB / 280.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003858/0.01708, allocations: 155.5 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.01709, allocations: 3.984 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.01945, allocations: 2.383 MB / 283.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01945, allocations: 0 / 283.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.02054, allocations: 0.5518 MB / 284 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.02057, allocations: 23.83 kB / 284 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.02059, allocations: 4 kB / 284 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.0207, allocations: 35.95 kB / 284.1 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.02074, allocations: 11.92 kB / 284.1 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.02076, allocations: 7.984 kB / 284.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.555e-05/0.02085, allocations: 180.3 kB / 284.3 MB, free: 5.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02085, allocations: 0 / 284.3 MB, free: 5.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.02117, allocations: 83.84 kB / 284.4 MB, free: 5.789 MB / 266.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 (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.0001059/0.02128, allocations: 103.2 kB / 284.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.02184, allocations: 333.3 kB / 284.8 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.02184, allocations: 8 kB / 284.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.0222, allocations: 289.4 kB / 285.1 MB, free: 5.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.02241, allocations: 23.98 kB / 285.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.02342, allocations: 486.2 kB / 285.6 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.02347, allocations: 79.98 kB / 285.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.724e-05/0.02352, allocations: 13.47 kB / 285.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.02356, allocations: 16.5 kB / 285.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.02356, allocations: 0 / 285.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of Templates: time 0.1032/0.1268, allocations: 4.947 MB / 290.6 MB, free: 29.21 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.772395288804546]