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.0008242/0.0008242, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003517/0.003517, allocations: 166.4 kB / 24.7 MB, free: 9.43 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.8005/0.8005, allocations: 158.6 MB / 186.5 MB, free: 3.035 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 298.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.24e-05, allocations: 6.219 kB / 298.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002235/0.002248, allocations: 2.493 MB / 300.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.00318, allocations: 0.6864 MB / 301.6 MB, free: 400 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.003285, allocations: 4 kB / 301.6 MB, free: 396 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.003405, allocations: 43.56 kB / 301.7 MB, free: 352 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.003511, allocations: 83.22 kB / 301.7 MB, free: 268 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.003775, allocations: 103.7 kB / 301.8 MB, free: 164 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1162/0.12, allocations: 365.4 kB / 302.2 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1202, allocations: 60.69 kB / 302.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.1205, allocations: 205.6 kB / 302.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1207, allocations: 124.7 kB / 302.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.1208, allocations: 30.94 kB / 302.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.211e-05/0.1208, allocations: 30.41 kB / 302.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.1208, allocations: 69.92 kB / 302.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.1209, allocations: 110.8 kB / 302.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.1213, allocations: 358.8 kB / 303.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1213, allocations: 0 / 303.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1213, allocations: 2.656 kB / 303.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1213, allocations: 0 / 303.2 MB, free: 13.17 MB / 282.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.0008338/0.1221, allocations: 0.5699 MB / 303.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1221, allocations: 14.86 kB / 303.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.1222, allocations: 55.55 kB / 303.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.1222, allocations: 30.75 kB / 303.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1225, allocations: 206.6 kB / 304 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1225, allocations: 15.25 kB / 304.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.1225, allocations: 20.41 kB / 304.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.123, allocations: 351.2 kB / 304.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.123, allocations: 0.6875 kB / 304.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.123, allocations: 7.469 kB / 304.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.123, allocations: 9.719 kB / 304.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.1234, allocations: 272.9 kB / 304.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009977/0.1244, allocations: 0.9632 MB / 305.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009502/0.1254, allocations: 428 kB / 306.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.1256, allocations: 139 kB / 306.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1256, allocations: 2.234 kB / 306.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.1256, allocations: 33.77 kB / 306.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.1256, allocations: 0 / 306.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.00233/0.128, allocations: 0.9438 MB / 307.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.128, allocations: 53.75 kB / 307.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1281, allocations: 217.4 kB / 307.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1281, allocations: 30.78 kB / 307.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.1282, allocations: 166.9 kB / 307.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.1282, allocations: 42.64 kB / 307.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.1282, allocations: 47.44 kB / 307.7 MB, free: 11.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.193e-05/0.1283, allocations: 330.8 kB / 308.1 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1285, allocations: 99.97 kB / 308.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.1286, allocations: 131.2 kB / 308.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.129, allocations: 227.8 kB / 308.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.129, allocations: 0 / 308.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001351/0.1303, allocations: 0.6358 MB / 309.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1304, allocations: 5.781 kB / 309.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1304, allocations: 1.156 kB / 309.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.1308, allocations: 220.2 kB / 309.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.1309, allocations: 35.52 kB / 309.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.1341, allocations: 2.617 MB / 312 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1343, allocations: 37.47 kB / 312.1 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1343, allocations: 6.328 kB / 312.1 MB, free: 8.781 MB / 282.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 7.624e-05/0.1343, allocations: 141.7 kB / 312.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1344, allocations: 22.12 kB / 312.2 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.1344, allocations: 21.97 kB / 312.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1344, allocations: 1.375 kB / 312.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1344, allocations: 1.375 kB / 312.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1344, allocations: 1.031 kB / 312.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1346, allocations: 270.6 kB / 312.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1346, allocations: 0 / 312.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.1347, allocations: 32.8 kB / 312.6 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/0.135, allocations: 223.2 kB / 312.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.135, allocations: 7.812 kB / 312.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.1381, allocations: 2.601 MB / 315.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1381, allocations: 6.766 kB / 315.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.1397, allocations: 0.834 MB / 316.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.1398, allocations: 22.92 kB / 316.2 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1398, allocations: 2.609 kB / 316.2 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1399, allocations: 36.17 kB / 316.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1399, allocations: 9.656 kB / 316.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.14, allocations: 9.375 kB / 316.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.17e-05/0.14, allocations: 153.9 kB / 316.5 MB, free: 6.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.14, allocations: 0 / 316.5 MB, free: 6.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.1403, allocations: 90.22 kB / 316.5 MB, free: 6.277 MB / 282.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.00178/0.1421, allocations: 1.379 MB / 317.9 MB, free: 5.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008871/0.143, allocations: 447.4 kB / 318.4 MB, free: 5.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.143, allocations: 1.094 kB / 318.4 MB, free: 5.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.1435, allocations: 324 kB / 318.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1438, allocations: 40.69 kB / 318.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.1483, allocations: 3.318 MB / 322 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.183e-05/0.1484, allocations: 135.2 kB / 322.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.1485, allocations: 17.73 kB / 322.2 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.1485, allocations: 67.31 kB / 322.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1485, allocations: 1.562 kB / 322.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.1696, allocations: 8.049 MB / 330.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.086, allocations: 7.938 kB / 330.3 MB, free: 13.72 MB / 298.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.711357288062572]