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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 84.98 kB / 22.99 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 177.5 kB / 26.4 MB, free: 7.961 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9255/0.9255, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 3.938 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.72e-05, allocations: 6.25 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003357/0.003374, allocations: 2.65 MB / 254.9 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.00439, allocations: 0.6942 MB / 255.6 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.004521, allocations: 4 kB / 255.6 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.004667, allocations: 39.58 kB / 255.6 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.00482, allocations: 83.2 kB / 255.7 MB, free: 3.758 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.005118, allocations: 99.78 kB / 255.8 MB, free: 3.66 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.005449, allocations: 378.2 kB / 256.2 MB, free: 3.289 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.005608, allocations: 68.77 kB / 256.3 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.005878, allocations: 203.6 kB / 256.5 MB, free: 3.02 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.006039, allocations: 123.7 kB / 256.6 MB, free: 2.898 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.006085, allocations: 32 kB / 256.6 MB, free: 2.867 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.006124, allocations: 31.94 kB / 256.6 MB, free: 2.836 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.006183, allocations: 67.8 kB / 256.7 MB, free: 2.77 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.006282, allocations: 107.7 kB / 256.8 MB, free: 2.664 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.006558, allocations: 243.2 kB / 257 MB, free: 2.426 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00656, allocations: 0 / 257 MB, free: 2.426 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00656, allocations: 3.938 kB / 257.1 MB, free: 2.422 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.006565, allocations: 4 kB / 257.1 MB, free: 2.418 MB / 234.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.0008831/0.007448, allocations: 0.6364 MB / 257.7 MB, free: 1.746 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.00748, allocations: 11.98 kB / 257.7 MB, free: 1.734 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.007555, allocations: 48.75 kB / 257.8 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.007774, allocations: 205.1 kB / 258 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.00779, allocations: 16.88 kB / 258 MB, free: 1.441 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.007827, allocations: 16.38 kB / 258 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.008194, allocations: 288.7 kB / 258.3 MB, free: 1.105 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.008205, allocations: 4.188 kB / 258.3 MB, free: 1.102 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.008226, allocations: 4.375 kB / 258.3 MB, free: 1.098 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.008235, allocations: 11.94 kB / 258.3 MB, free: 1.086 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.008376, allocations: 79.36 kB / 258.4 MB, free: 1.012 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.009438, allocations: 0.9869 MB / 259.3 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.01004, allocations: 202.9 kB / 259.5 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.01014, allocations: 59.64 kB / 259.6 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.01016, allocations: 4 kB / 259.6 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.01018, allocations: 45.33 kB / 259.7 MB, free: 15.64 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/0.01018, allocations: 0 / 259.7 MB, free: 15.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.001978/0.01216, allocations: 0.5436 MB / 260.2 MB, free: 15.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.01219, allocations: 59.34 kB / 260.3 MB, free: 15.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.01234, allocations: 245.6 kB / 260.5 MB, free: 14.76 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.01236, allocations: 25.7 kB / 260.5 MB, free: 14.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.01246, allocations: 215 kB / 260.7 MB, free: 14.51 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.0125, allocations: 51.56 kB / 260.8 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.01257, allocations: 47.31 kB / 260.8 MB, free: 14.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.01271, allocations: 0.504 MB / 261.3 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.01277, allocations: 23.97 kB / 261.4 MB, free: 13.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.01285, allocations: 55.27 kB / 261.4 MB, free: 13.8 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.01297, allocations: 74.95 kB / 261.5 MB, free: 13.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01298, allocations: 4 kB / 261.5 MB, free: 13.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001144/0.01412, allocations: 376.7 kB / 261.9 MB, free: 13.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01413, allocations: 8 kB / 261.9 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.01414, allocations: 0 / 261.9 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.01457, allocations: 151.5 kB / 262 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01468, allocations: 31.98 kB / 262 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.01732, allocations: 2.348 MB / 264.4 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.01745, allocations: 31.94 kB / 264.4 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.01747, allocations: 16.02 kB / 264.4 MB, free: 10.64 MB / 250.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 9.428e-05/0.01756, allocations: 160.6 kB / 264.6 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.01761, allocations: 27.86 kB / 264.6 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.01764, allocations: 21.45 kB / 264.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01765, allocations: 4 kB / 264.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01765, allocations: 3.938 kB / 264.6 MB, free: 10.42 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01765, allocations: 0 / 264.6 MB, free: 10.42 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.01787, allocations: 177.1 kB / 264.8 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01787, allocations: 4 kB / 264.8 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.01797, allocations: 27.98 kB / 264.9 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003853/0.01835, allocations: 155.4 kB / 265 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.01837, allocations: 0 / 265 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.02087, allocations: 2.356 MB / 267.4 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02087, allocations: 0 / 267.4 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.02208, allocations: 0.5342 MB / 267.9 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.02211, allocations: 19.86 kB / 267.9 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.02213, allocations: 4 kB / 267.9 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.02229, allocations: 28.06 kB / 267.9 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.02231, allocations: 7.969 kB / 268 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.02233, allocations: 7.984 kB / 268 MB, free: 6.938 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.305e-05/0.02241, allocations: 180.2 kB / 268.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02241, allocations: 4 kB / 268.1 MB, free: 6.758 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.02279, allocations: 75.89 kB / 268.2 MB, free: 6.684 MB / 250.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 7.856e-05/0.02286, allocations: 99.25 kB / 268.3 MB, free: 6.578 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.02341, allocations: 328.4 kB / 268.6 MB, free: 6.238 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.02341, allocations: 0 / 268.6 MB, free: 6.238 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.02382, allocations: 289.4 kB / 268.9 MB, free: 5.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.02409, allocations: 35.98 kB / 269 MB, free: 5.898 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008387/0.02493, allocations: 466.3 kB / 269.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.526e-05/0.02498, allocations: 79.97 kB / 269.5 MB, free: 5.316 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.558e-05/0.02504, allocations: 21.47 kB / 269.5 MB, free: 5.297 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.02515, allocations: 98.19 kB / 269.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02515, allocations: 0 / 269.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of Templates: time 0.007512/0.03266, allocations: 5.256 MB / 274.9 MB, free: 15.92 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 240] 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","",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.949173216242343]