Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 115.8 kB / 19.18 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 212.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.4 MB / 255.4 MB, free: 9.066 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 75.81 kB / 374.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 53.31 MB / 428.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004265/0.3121, allocations: 2.734 MB / 430.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3135, allocations: 0.709 MB / 431.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.3137, allocations: 7.938 kB / 431.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.3138, allocations: 39.58 kB / 431.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.314, allocations: 87.27 kB / 431.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.3144, allocations: 111.8 kB / 431.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.3148, allocations: 354.6 kB / 432.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.315, allocations: 72.64 kB / 432.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.3153, allocations: 139.5 kB / 432.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3155, allocations: 163.3 kB / 432.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.3156, allocations: 32 kB / 432.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.3156, allocations: 36 kB / 432.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.3157, allocations: 71.8 kB / 432.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.3159, allocations: 147.3 kB / 432.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.3163, allocations: 352.1 kB / 433.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3163, allocations: 0 / 433.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3163, allocations: 7.938 kB / 433.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3163, allocations: 0 / 433.1 MB, free: 3.191 MB / 334.1 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.001529/0.3179, allocations: 0.6429 MB / 433.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3179, allocations: 12.03 kB / 433.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.3181, allocations: 40.73 kB / 433.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.3185, allocations: 264.9 kB / 434 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.3185, allocations: 16.81 kB / 434.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.3186, allocations: 16.38 kB / 434.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.3193, allocations: 306.9 kB / 434.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3193, allocations: 3.938 kB / 434.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3193, allocations: 12 kB / 434.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3193, allocations: 4 kB / 434.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007918/0.3201, allocations: 265.6 kB / 434.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.3219, allocations: 1.07 MB / 435.7 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.3238, allocations: 422.4 kB / 436.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.3242, allocations: 140.7 kB / 436.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3243, allocations: 7.984 kB / 436.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.3243, allocations: 34.5 kB / 436.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.3243, allocations: 4 kB / 436.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004917/0.3292, allocations: 1.022 MB / 437.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3292, allocations: 55.39 kB / 437.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.3295, allocations: 224.9 kB / 437.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.3295, allocations: 29.7 kB / 437.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3297, allocations: 160.3 kB / 437.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.3297, allocations: 51.58 kB / 437.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/0.3298, allocations: 37.66 kB / 437.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.33, allocations: 330.8 kB / 438.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.3303, allocations: 99.94 kB / 438.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.3307, allocations: 132.1 kB / 438.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.3314, allocations: 225.5 kB / 438.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3314, allocations: 0 / 438.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002921/0.3344, allocations: 0.6409 MB / 439.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3344, allocations: 4 kB / 439.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3344, allocations: 0 / 439.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007866/0.3352, allocations: 220.6 kB / 439.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.3354, allocations: 39.97 kB / 439.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/0.3425, allocations: 2.735 MB / 442.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.3428, allocations: 39.89 kB / 442.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.3428, allocations: 4 kB / 442.3 MB, free: 9.516 MB / 350.1 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.0001876/0.343, allocations: 137.8 kB / 442.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.3431, allocations: 23.84 kB / 442.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.3431, allocations: 25.83 kB / 442.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3431, allocations: 4 kB / 442.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3431, allocations: 4 kB / 442.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3431, allocations: 96 / 442.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.3435, allocations: 337.2 kB / 442.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3435, allocations: 0 / 442.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3437, allocations: 35.91 kB / 442.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006802/0.3444, allocations: 220.7 kB / 443.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3444, allocations: 4 kB / 443.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006905/0.3513, allocations: 2.735 MB / 445.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3513, allocations: 0 / 445.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.3547, allocations: 0.8473 MB / 446.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.3548, allocations: 101 kB / 446.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.3548, allocations: 4 kB / 446.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.3551, allocations: 31.97 kB / 446.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.3552, allocations: 11.98 kB / 446.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3552, allocations: 4 kB / 446.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.3554, allocations: 160.5 kB / 447 MB, free: 4.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3554, allocations: 4 kB / 447 MB, free: 4.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004789/0.3558, allocations: 79.89 kB / 447.1 MB, free: 4.523 MB / 350.1 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.0001701/0.356, allocations: 103.7 kB / 447.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3576, allocations: 442.4 kB / 447.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3576, allocations: 0 / 447.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.3587, allocations: 330.5 kB / 447.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.3591, allocations: 44.81 kB / 448 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3606, allocations: 0.5936 MB / 448.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.361, allocations: 0.7398 MB / 449.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.361, allocations: 23.44 kB / 449.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.361, allocations: 0 / 449.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Templates: time 0.007176/0.3682, allocations: 4.141 MB / 453.5 MB, free: 14.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.238981870934367]