Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001833/0.001833, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.00183/0.00183, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.06/2.06, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3784, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00601/0.3845, allocations: 2.562 MB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3864, allocations: 0.6779 MB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.3866, allocations: 11.94 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.3868, allocations: 43.56 kB / 435.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.387, allocations: 75.28 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.3875, allocations: 107.8 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.3881, allocations: 362.5 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.3883, allocations: 68.89 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003686/0.3887, allocations: 151.5 kB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.389, allocations: 167.3 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.767e-05/0.3891, allocations: 32 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3892, allocations: 32 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.3893, allocations: 67.81 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.3895, allocations: 127.4 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000609/0.3901, allocations: 346.4 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3901, allocations: 0 / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3901, allocations: 0 / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3901, allocations: 0 / 437.1 MB, free: 1.883 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.00235/0.3925, allocations: 0.5871 MB / 437.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3925, allocations: 8.031 kB / 437.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.3928, allocations: 40.73 kB / 437.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.3934, allocations: 206.9 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.3934, allocations: 16.81 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.3935, allocations: 20.31 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.3946, allocations: 354.3 kB / 438.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3946, allocations: 0 / 438.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.3947, allocations: 8 kB / 438.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3947, allocations: 4 kB / 438.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.396, allocations: 277.5 kB / 438.6 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.3986, allocations: 0.9186 MB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/0.4022, allocations: 430.2 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.4028, allocations: 144.7 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.4029, allocations: 0 / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4029, allocations: 34.56 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.4029, allocations: 0 / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.008994/0.4119, allocations: 0.9508 MB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.412, allocations: 55.41 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.4124, allocations: 203.1 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.4125, allocations: 33.7 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.4126, allocations: 168.3 kB / 441.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.996e-05/0.4127, allocations: 51.53 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.4129, allocations: 37.7 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.4131, allocations: 330.8 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.4137, allocations: 103.9 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.4144, allocations: 129.6 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.4156, allocations: 232.1 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4157, allocations: 0 / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.005003/0.4207, allocations: 0.6268 MB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.4207, allocations: 11.12 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4207, allocations: 0 / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.422, allocations: 216.7 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.4223, allocations: 47.91 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.4346, allocations: 2.593 MB / 445.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.4351, allocations: 27.92 kB / 445.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.4352, allocations: 11.98 kB / 445.9 MB, free: 8.734 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.0002451/0.4354, allocations: 125.8 kB / 446.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.906e-05/0.4355, allocations: 27.86 kB / 446.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.73e-05/0.4356, allocations: 25.45 kB / 446.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.4356, allocations: 4.078 kB / 446.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4356, allocations: 0 / 446.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4356, allocations: 0 / 446.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.4361, allocations: 229.1 kB / 446.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4361, allocations: 0 / 446.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.4364, allocations: 35.91 kB / 446.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.4374, allocations: 220.6 kB / 446.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.4375, allocations: 4 kB / 446.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.449, allocations: 2.581 MB / 449.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.449, allocations: 7.875 kB / 449.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006046/0.4551, allocations: 0.8357 MB / 450 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4552, allocations: 31.75 kB / 450 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.4552, allocations: 0 / 450 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.4558, allocations: 36.03 kB / 450.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.4558, allocations: 7.984 kB / 450.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.4559, allocations: 15.92 kB / 450.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002387/0.4561, allocations: 152.6 kB / 450.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4561, allocations: 0 / 450.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008446/0.457, allocations: 75.89 kB / 450.3 MB, free: 4.168 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.0001722/0.4571, allocations: 103.2 kB / 450.4 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.4598, allocations: 442.3 kB / 450.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4598, allocations: 4.062 kB / 450.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.4618, allocations: 322.4 kB / 451.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.4625, allocations: 22.58 kB / 451.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.4648, allocations: 0.5695 MB / 451.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.465, allocations: 133.8 kB / 451.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.4651, allocations: 17.41 kB / 451.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.4652, allocations: 15.44 kB / 451.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4652, allocations: 0 / 451.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of Templates: time 0.0147/0.4799, allocations: 4.982 MB / 456.9 MB, free: 13.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.770538955999655]