Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0007958/0.0007958, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007662/0.0007662, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9103/0.9103, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.035e-05, allocations: 7.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002816/0.002836, allocations: 2.557 MB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000974/0.00381, allocations: 0.6895 MB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.003916, allocations: 4 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.004035, allocations: 51.5 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.004137, allocations: 75.22 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.004497, allocations: 111.7 kB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.004764, allocations: 366.4 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.004916, allocations: 72.83 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.005189, allocations: 211.5 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.005331, allocations: 123.6 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.005371, allocations: 32 kB / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.005429, allocations: 32 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.005469, allocations: 75.72 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/0.005537, allocations: 107.7 kB / 329 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.005842, allocations: 362.9 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005844, allocations: 4 kB / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.005846, allocations: 0 / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.00585, allocations: 3.938 kB / 329.4 MB, free: 11.01 MB / 298.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.0008335/0.006684, allocations: 0.5715 MB / 329.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.006721, allocations: 15.98 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.006767, allocations: 54.73 kB / 330 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.006941, allocations: 40.73 kB / 330.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.00719, allocations: 202.2 kB / 330.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.007203, allocations: 20.88 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.007235, allocations: 20.38 kB / 330.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.007641, allocations: 343.5 kB / 330.6 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.00765, allocations: 8.125 kB / 330.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.007673, allocations: 16.11 kB / 330.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.007679, allocations: 4 kB / 330.7 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.008083, allocations: 265.8 kB / 330.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.009196, allocations: 0.9694 MB / 331.9 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/0.01009, allocations: 418.3 kB / 332.3 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.01031, allocations: 140.7 kB / 332.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.01033, allocations: 7.969 kB / 332.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.01035, allocations: 42.5 kB / 332.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.01035, allocations: 0 / 332.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.002264/0.01262, allocations: 0.9392 MB / 333.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.01264, allocations: 55.41 kB / 333.5 MB, free: 6.699 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.01279, allocations: 225.7 kB / 333.7 MB, free: 6.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.01281, allocations: 37.7 kB / 333.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.01288, allocations: 160.2 kB / 333.9 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.01291, allocations: 43.59 kB / 333.9 MB, free: 6.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.01296, allocations: 49.53 kB / 334 MB, free: 6.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.382e-05/0.01304, allocations: 326.8 kB / 334.3 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.01322, allocations: 103.9 kB / 334.4 MB, free: 5.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.0134, allocations: 129.6 kB / 334.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.01375, allocations: 220.6 kB / 334.7 MB, free: 5.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01375, allocations: 4 kB / 334.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001573/0.01533, allocations: 0.6423 MB / 335.4 MB, free: 4.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01534, allocations: 4 kB / 335.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01534, allocations: 0 / 335.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/0.01575, allocations: 220.6 kB / 335.6 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.01584, allocations: 35.98 kB / 335.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.01947, allocations: 2.612 MB / 338.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.01958, allocations: 31.91 kB / 338.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.0196, allocations: 7.984 kB / 338.3 MB, free: 1.703 MB / 298.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.125e-05/0.01969, allocations: 133.9 kB / 338.4 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.01972, allocations: 27.78 kB / 338.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.01974, allocations: 21.77 kB / 338.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01975, allocations: 4 kB / 338.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.01975, allocations: 0 / 338.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.01975, allocations: 0 / 338.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01997, allocations: 264.5 kB / 338.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01997, allocations: 3.938 kB / 338.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.02005, allocations: 23.98 kB / 338.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/0.02039, allocations: 228.7 kB / 339 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.02041, allocations: 4 kB / 339 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/0.0239, allocations: 2.601 MB / 341.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0239, allocations: 11.98 kB / 341.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.02545, allocations: 0.8469 MB / 342.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.02548, allocations: 31.88 kB / 342.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.02549, allocations: 0 / 342.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.02562, allocations: 39.91 kB / 342.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.02565, allocations: 3.984 kB / 342.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.02567, allocations: 11.98 kB / 342.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.975e-05/0.02576, allocations: 157.2 kB / 342.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02576, allocations: 0 / 342.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.02605, allocations: 87.89 kB / 342.8 MB, free: 13.04 MB / 314.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 0.00171/0.02776, allocations: 1.377 MB / 344.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.02853, allocations: 442.4 kB / 344.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02853, allocations: 0 / 344.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.02901, allocations: 318.5 kB / 344.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.02926, allocations: 33.72 kB / 344.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.0336, allocations: 3.328 MB / 348.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.03394, allocations: 137.8 kB / 348.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.03399, allocations: 17.48 kB / 348.4 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.03406, allocations: 72.47 kB / 348.5 MB, free: 7.172 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03406, allocations: 0 / 348.5 MB, free: 7.172 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.05721, allocations: 8.069 MB / 356.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.741, allocations: 11.14 kB / 356.6 MB, free: 15.19 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.csv --start-time 0 --stop-time 0.4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.9968e-05 Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.564655651338398]