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.001165/0.001165, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001322/0.001322, allocations: 158.8 kB / 25.75 MB, free: 8.582 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.8881/0.8881, allocations: 158.6 MB / 187.5 MB, free: 2.902 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 1.223e-06/1.223e-06, allocations: 0 / 251.1 MB, free: 7.898 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.521e-05, allocations: 6.25 kB / 251.1 MB, free: 7.891 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002571/0.002596, allocations: 2.677 MB / 253.8 MB, free: 5.199 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008302/0.003426, allocations: 0.6942 MB / 254.5 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.003519, allocations: 8 kB / 254.5 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.003639, allocations: 43.56 kB / 254.5 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.641e-05/0.003736, allocations: 83.2 kB / 254.6 MB, free: 4.363 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.003974, allocations: 103.7 kB / 254.7 MB, free: 4.262 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.004269, allocations: 374.2 kB / 255.1 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.004437, allocations: 60.89 kB / 255.1 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.004654, allocations: 211.5 kB / 255.3 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.00479, allocations: 123.7 kB / 255.5 MB, free: 3.504 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.004832, allocations: 32 kB / 255.5 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.284e-05/0.004865, allocations: 28 kB / 255.5 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.004912, allocations: 71.73 kB / 255.6 MB, free: 3.375 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.005231, allocations: 103.7 kB / 255.7 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.005455, allocations: 247.2 kB / 255.9 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005458, allocations: 0 / 255.9 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005459, allocations: 0 / 255.9 MB, free: 3.031 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.005464, allocations: 0 / 255.9 MB, free: 3.031 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.0007525/0.006216, allocations: 0.6441 MB / 256.6 MB, free: 2.352 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.006251, allocations: 11.98 kB / 256.6 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.006329, allocations: 52.75 kB / 256.6 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.006546, allocations: 205.1 kB / 256.8 MB, free: 2.059 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.00656, allocations: 12.88 kB / 256.8 MB, free: 2.047 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.006595, allocations: 20.38 kB / 256.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.006942, allocations: 296.7 kB / 257.2 MB, free: 1.699 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.00695, allocations: 192 / 257.2 MB, free: 1.699 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.006973, allocations: 12.38 kB / 257.2 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.006983, allocations: 11.94 kB / 257.2 MB, free: 1.676 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.007149, allocations: 98.86 kB / 257.3 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.00816, allocations: 1.025 MB / 258.3 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.008706, allocations: 207 kB / 258.5 MB, free: 284 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.008811, allocations: 63.66 kB / 258.6 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.008829, allocations: 7.984 kB / 258.6 MB, free: 208 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.008853, allocations: 49.33 kB / 258.6 MB, free: 148 kB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.008854, allocations: 0 / 258.6 MB, free: 148 kB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.001609/0.01046, allocations: 0.5633 MB / 259.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.01049, allocations: 51.41 kB / 259.2 MB, free: 15.51 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.01063, allocations: 249.6 kB / 259.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01065, allocations: 29.64 kB / 259.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.01073, allocations: 215.1 kB / 259.7 MB, free: 15 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.01076, allocations: 47.58 kB / 259.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.01082, allocations: 43.36 kB / 259.8 MB, free: 14.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.01093, allocations: 0.5001 MB / 260.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.01099, allocations: 31.98 kB / 260.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.01107, allocations: 59.28 kB / 260.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.01122, allocations: 94.94 kB / 260.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01122, allocations: 0 / 260.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009154/0.01214, allocations: 396.7 kB / 260.9 MB, free: 13.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01215, allocations: 8 kB / 260.9 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01216, allocations: 4 kB / 260.9 MB, free: 13.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000414/0.01257, allocations: 151.5 kB / 261 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.01266, allocations: 39.97 kB / 261.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.01526, allocations: 2.383 MB / 263.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.01536, allocations: 23.94 kB / 263.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.01537, allocations: 7.984 kB / 263.5 MB, free: 11.05 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 8.701e-05/0.01546, allocations: 164.6 kB / 263.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.0155, allocations: 23.91 kB / 263.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.01552, allocations: 29.39 kB / 263.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01553, allocations: 4 kB / 263.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01553, allocations: 0 / 263.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01553, allocations: 0 / 263.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.01572, allocations: 220.4 kB / 263.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01572, allocations: 0 / 263.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.01581, allocations: 31.92 kB / 264 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003378/0.01614, allocations: 155.5 kB / 264.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01615, allocations: 0 / 264.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.0183, allocations: 2.387 MB / 266.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01831, allocations: 0 / 266.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.01933, allocations: 0.5576 MB / 267.1 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.01935, allocations: 27.88 kB / 267.1 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.01937, allocations: 0 / 267.1 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01948, allocations: 27.92 kB / 267.1 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.01951, allocations: 11.97 kB / 267.1 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.01952, allocations: 7.938 kB / 267.1 MB, free: 7.223 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.138e-05/0.0196, allocations: 184.3 kB / 267.3 MB, free: 7.043 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0196, allocations: 0 / 267.3 MB, free: 7.043 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.01988, allocations: 83.84 kB / 267.4 MB, free: 6.961 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 8.917e-05/0.01997, allocations: 103.2 kB / 267.5 MB, free: 6.852 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.0205, allocations: 336.4 kB / 267.8 MB, free: 6.504 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.0205, allocations: 0 / 267.8 MB, free: 6.504 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.02083, allocations: 288.4 kB / 268.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.02106, allocations: 31.92 kB / 268.1 MB, free: 6.172 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.02191, allocations: 482.3 kB / 268.6 MB, free: 5.672 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.586e-05/0.02196, allocations: 75.98 kB / 268.7 MB, free: 5.578 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.052e-05/0.022, allocations: 9.484 kB / 268.7 MB, free: 5.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.02203, allocations: 16.5 kB / 268.7 MB, free: 5.555 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02203, allocations: 0 / 268.7 MB, free: 5.555 MB / 250.7 MB Notification: Performance of Templates: time 0.006222/0.02825, allocations: 4.965 MB / 273.7 MB, free: 0.5625 MB / 250.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.7984357960522175]