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.001426/0.001426, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001761/0.001761, allocations: 205.6 kB / 24.47 MB, free: 4.023 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.521/1.521, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.002475/0.002475, allocations: 67.81 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3007, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004361/0.305, allocations: 2.753 MB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3065, allocations: 0.7206 MB / 435.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.3066, allocations: 4 kB / 435.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.3068, allocations: 47.56 kB / 435.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.3069, allocations: 75.28 kB / 435.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.3073, allocations: 111.8 kB / 435.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000432/0.3077, allocations: 354.6 kB / 436.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3079, allocations: 74.61 kB / 436.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.3082, allocations: 147.5 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.3084, allocations: 155.4 kB / 436.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.3085, allocations: 35.94 kB / 436.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-05/0.3086, allocations: 39.98 kB / 436.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.3086, allocations: 67.77 kB / 436.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.3088, allocations: 151.3 kB / 436.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.3093, allocations: 350.7 kB / 437.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3093, allocations: 0 / 437.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3093, allocations: 0 / 437.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3093, allocations: 0 / 437.1 MB, free: 2.324 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.00162/0.3109, allocations: 0.6468 MB / 437.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.311, allocations: 12.03 kB / 437.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.3111, allocations: 36.75 kB / 437.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.3116, allocations: 264.8 kB / 438.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.3116, allocations: 16.81 kB / 438.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.3117, allocations: 24.36 kB / 438.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.3124, allocations: 306.9 kB / 438.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3124, allocations: 0 / 438.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.3124, allocations: 12 kB / 438.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3124, allocations: 4 kB / 438.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.3133, allocations: 269.5 kB / 438.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.3151, allocations: 1.066 MB / 439.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.3173, allocations: 434.3 kB / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/0.3177, allocations: 132.8 kB / 440.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3177, allocations: 0 / 440.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.3178, allocations: 34.56 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.3178, allocations: 8 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005225/0.323, allocations: 1.022 MB / 441.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.323, allocations: 55.41 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.3233, allocations: 217 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.3233, allocations: 25.7 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3235, allocations: 164.2 kB / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.3235, allocations: 51.58 kB / 441.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.3236, allocations: 37.66 kB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3238, allocations: 334.8 kB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.3241, allocations: 103.9 kB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.3245, allocations: 128.4 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008029/0.3253, allocations: 233.4 kB / 442.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3253, allocations: 4 kB / 442.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003669/0.329, allocations: 0.6307 MB / 443.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.329, allocations: 10.91 kB / 443.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.329, allocations: 4 kB / 443.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.3301, allocations: 216.7 kB / 443.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.3303, allocations: 39.91 kB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.341, allocations: 2.739 MB / 446.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.3414, allocations: 39.89 kB / 446.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.3415, allocations: 4 kB / 446.4 MB, free: 8.629 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.0003/0.3418, allocations: 133.8 kB / 446.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.3419, allocations: 19.91 kB / 446.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/0.3419, allocations: 25.83 kB / 446.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3419, allocations: 4 kB / 446.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3419, allocations: 0 / 446.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3419, allocations: 0 / 446.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.3426, allocations: 337.2 kB / 446.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3426, allocations: 0 / 446.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.3428, allocations: 35.91 kB / 446.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.3439, allocations: 220.7 kB / 447.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.3439, allocations: 4 kB / 447.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.3544, allocations: 2.736 MB / 449.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3544, allocations: 0 / 449.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005567/0.36, allocations: 0.8524 MB / 450.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.3602, allocations: 101 kB / 450.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.3602, allocations: 8 kB / 450.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.3608, allocations: 27.97 kB / 450.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.3608, allocations: 11.98 kB / 450.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.3609, allocations: 7.984 kB / 450.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.3612, allocations: 160.5 kB / 451 MB, free: 3.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3612, allocations: 7.938 kB / 451 MB, free: 3.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008694/0.3621, allocations: 75.89 kB / 451.1 MB, free: 3.645 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.0002143/0.3623, allocations: 103.8 kB / 451.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003021/0.3653, allocations: 443.9 kB / 451.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3653, allocations: 0 / 451.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.3673, allocations: 330.5 kB / 452 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.368, allocations: 36.58 kB / 452 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.3705, allocations: 0.5723 MB / 452.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.3711, allocations: 0.7437 MB / 453.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3713, allocations: 13.55 kB / 453.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.3713, allocations: 15.44 kB / 453.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3713, allocations: 4 kB / 453.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of Templates: time 0.01733/0.3887, allocations: 5.064 MB / 458.4 MB, free: 12.28 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 -s cvode -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: 4.881744661834091]