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.001586/0.001586, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001561/0.001561, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001959/0.001959, allocations: 59.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2593, allocations: 53.4 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004024/0.2634, allocations: 2.555 MB / 433.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2646, allocations: 0.6795 MB / 434.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2648, allocations: 7.938 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.2649, allocations: 47.56 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.265, allocations: 79.22 kB / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.2654, allocations: 111.8 kB / 434.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.2657, allocations: 358.5 kB / 435 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2659, allocations: 64.89 kB / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.2661, allocations: 147.5 kB / 435.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.2663, allocations: 143.4 kB / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.2664, allocations: 31.94 kB / 435.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.2665, allocations: 36 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.2666, allocations: 71.73 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.2667, allocations: 123.5 kB / 435.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.2671, allocations: 350.6 kB / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2671, allocations: 0 / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.2671, allocations: 4 kB / 435.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2671, allocations: 0 / 435.9 MB, free: 1.645 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.001455/0.2686, allocations: 0.5754 MB / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2686, allocations: 11.98 kB / 436.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.2687, allocations: 54.73 kB / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.2688, allocations: 40.73 kB / 436.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.2692, allocations: 207 kB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2692, allocations: 16.75 kB / 436.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.2693, allocations: 20.38 kB / 436.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006649/0.27, allocations: 358.1 kB / 437.2 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.27, allocations: 0 / 437.2 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.27, allocations: 8 kB / 437.2 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.27, allocations: 4 kB / 437.2 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.2708, allocations: 269.5 kB / 437.5 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.2724, allocations: 0.9648 MB / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.2743, allocations: 434.2 kB / 438.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.2747, allocations: 136.8 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2747, allocations: 4 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2747, allocations: 34.56 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.2747, allocations: 0 / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004749/0.2795, allocations: 0.947 MB / 440 MB, free: 13.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.2795, allocations: 55.41 kB / 440 MB, free: 13.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.2797, allocations: 224.9 kB / 440.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.2798, allocations: 25.7 kB / 440.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2799, allocations: 164.2 kB / 440.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.2799, allocations: 55.53 kB / 440.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.28, allocations: 37.64 kB / 440.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2801, allocations: 334.8 kB / 440.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.2805, allocations: 99.94 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.2808, allocations: 129.5 kB / 441.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.2815, allocations: 231.9 kB / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2815, allocations: 3.938 kB / 441.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002805/0.2843, allocations: 0.6308 MB / 441.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2843, allocations: 4 kB / 441.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2843, allocations: 0 / 441.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007157/0.285, allocations: 216.7 kB / 442.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2852, allocations: 35.91 kB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006746/0.2919, allocations: 2.635 MB / 444.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.2922, allocations: 31.86 kB / 444.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2922, allocations: 4 kB / 444.9 MB, free: 8.336 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.0001625/0.2924, allocations: 138.7 kB / 445 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.2924, allocations: 19.97 kB / 445 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.2925, allocations: 25.77 kB / 445 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2925, allocations: 0 / 445 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.2925, allocations: 0 / 445 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2925, allocations: 0 / 445 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.2928, allocations: 264.5 kB / 445.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2928, allocations: 0 / 445.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.293, allocations: 35.91 kB / 445.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006363/0.2936, allocations: 220.7 kB / 445.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2937, allocations: 7.984 kB / 445.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006502/0.3002, allocations: 2.612 MB / 448.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3002, allocations: 0 / 448.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.3033, allocations: 0.8434 MB / 449 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.3034, allocations: 19.89 kB / 449 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.3034, allocations: 4 kB / 449 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.3037, allocations: 36.03 kB / 449.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.3038, allocations: 11.97 kB / 449.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3038, allocations: 4 kB / 449.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.3039, allocations: 164.5 kB / 449.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3039, allocations: 0 / 449.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004396/0.3044, allocations: 75.89 kB / 449.3 MB, free: 3.68 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.003444/0.3078, allocations: 1.395 MB / 450.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.3093, allocations: 434.4 kB / 451.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3093, allocations: 0 / 451.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.3104, allocations: 326.6 kB / 451.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3107, allocations: 44.5 kB / 451.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008374/0.3191, allocations: 3.354 MB / 454.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.3192, allocations: 133.8 kB / 455 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.025e-05/0.3193, allocations: 17.48 kB / 455 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3194, allocations: 71.41 kB / 455.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3194, allocations: 0 / 455.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.3594, allocations: 7.927 MB / 463 MB, free: 5.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.88, allocations: 13.22 kB / 463 MB, free: 5.938 MB / 366.1 MB " [Timeout remaining time 647] (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/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_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: 15.509713479783386]