Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 103.5 kB / 20.43 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 184.8 kB / 23.7 MB, free: 4.43 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 43.92 kB / 370.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.246, allocations: 52.17 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003978/0.25, allocations: 2.546 MB / 425.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2511, allocations: 0.6328 MB / 425.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.2512, allocations: 8 kB / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2514, allocations: 47.56 kB / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.2515, allocations: 75.28 kB / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.2519, allocations: 95.8 kB / 426 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.2522, allocations: 366.5 kB / 426.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.2524, allocations: 64.89 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.2526, allocations: 139.5 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.2528, allocations: 139.4 kB / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.2529, allocations: 32 kB / 426.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.2529, allocations: 32 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.253, allocations: 71.69 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2531, allocations: 123.5 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.2535, allocations: 346.6 kB / 427.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2535, allocations: 0 / 427.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2535, allocations: 0 / 427.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2535, allocations: 0 / 427.2 MB, free: 9.719 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.001398/0.2549, allocations: 0.5793 MB / 427.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.255, allocations: 12.03 kB / 427.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.424e-05/0.255, allocations: 54.73 kB / 427.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.2551, allocations: 28.75 kB / 427.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.2555, allocations: 203 kB / 428.1 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2555, allocations: 12.81 kB / 428.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.2555, allocations: 20.38 kB / 428.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.2562, allocations: 358.1 kB / 428.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2562, allocations: 0 / 428.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.2563, allocations: 4 kB / 428.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.2563, allocations: 11.98 kB / 428.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.257, allocations: 269.5 kB / 428.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.2587, allocations: 0.957 MB / 429.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.2605, allocations: 440.5 kB / 430.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/0.2609, allocations: 136.8 kB / 430.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2609, allocations: 0 / 430.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2609, allocations: 42.55 kB / 430.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.2609, allocations: 0 / 430.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.004607/0.2655, allocations: 0.9469 MB / 431.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.2656, allocations: 51.41 kB / 431.3 MB, free: 5.418 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2658, allocations: 220.1 kB / 431.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.2658, allocations: 25.7 kB / 431.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.266, allocations: 164.2 kB / 431.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.266, allocations: 55.58 kB / 431.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.2661, allocations: 37.69 kB / 431.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2663, allocations: 330.8 kB / 432.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.2666, allocations: 111.9 kB / 432.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.2669, allocations: 123.8 kB / 432.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.2676, allocations: 236.7 kB / 432.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2676, allocations: 3.938 kB / 432.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002741/0.2703, allocations: 0.6268 MB / 433.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2703, allocations: 11.98 kB / 433.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2703, allocations: 0 / 433.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/0.271, allocations: 216.7 kB / 433.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2712, allocations: 31.98 kB / 433.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006642/0.2778, allocations: 2.604 MB / 436.1 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.2781, allocations: 39.81 kB / 436.1 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.2781, allocations: 7.984 kB / 436.2 MB, free: 440 kB / 334.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.0001573/0.2783, allocations: 129.8 kB / 436.3 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.2784, allocations: 23.86 kB / 436.3 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.2784, allocations: 29.52 kB / 436.3 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2784, allocations: 96 / 436.3 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2784, allocations: 3.984 kB / 436.3 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2784, allocations: 0 / 436.3 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.2788, allocations: 268.5 kB / 436.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2788, allocations: 0 / 436.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.2789, allocations: 27.98 kB / 436.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006427/0.2796, allocations: 228.6 kB / 436.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2796, allocations: 4 kB / 436.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006495/0.2861, allocations: 2.613 MB / 439.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2861, allocations: 0 / 439.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.2893, allocations: 0.8383 MB / 440.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.2893, allocations: 23.81 kB / 440.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.2894, allocations: 8 kB / 440.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.2896, allocations: 39.91 kB / 440.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.2897, allocations: 11.98 kB / 440.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2897, allocations: 7.984 kB / 440.4 MB, free: 12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.2899, allocations: 157.6 kB / 440.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2899, allocations: 0 / 440.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004544/0.2904, allocations: 79.89 kB / 440.6 MB, free: 11.77 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.003532/0.2939, allocations: 1.384 MB / 442 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.2954, allocations: 438.5 kB / 442.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2954, allocations: 0 / 442.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.2964, allocations: 326.5 kB / 442.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2968, allocations: 36.59 kB / 442.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/0.3053, allocations: 3.341 MB / 446.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.3054, allocations: 141.8 kB / 446.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.44e-05/0.3055, allocations: 17.47 kB / 446.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3056, allocations: 75.41 kB / 446.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3057, allocations: 0 / 446.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.3449, allocations: 7.879 MB / 454.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.84, allocations: 0 / 454.2 MB, free: 14.14 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.35196274658665]