Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.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.001916/0.001916, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.002374/0.002374, allocations: 186.5 kB / 23.71 MB, free: 4.434 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.407/1.407, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 47.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2496, allocations: 52.17 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005839/0.2554, allocations: 3.824 MB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2572, allocations: 0.9112 MB / 427.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.2575, allocations: 8 kB / 427.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.2577, allocations: 99 kB / 427.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.2583, allocations: 194.3 kB / 427.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.2586, allocations: 167.7 kB / 427.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008136/0.2594, allocations: 0.7361 MB / 428.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.2597, allocations: 143.7 kB / 428.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.2601, allocations: 286.9 kB / 428.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.2604, allocations: 294.5 kB / 429.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.2606, allocations: 64 kB / 429.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.2607, allocations: 60 kB / 429.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.2608, allocations: 143.5 kB / 429.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.2611, allocations: 270.7 kB / 429.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007523/0.2618, allocations: 0.7196 MB / 430.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2618, allocations: 0 / 430.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2618, allocations: 0 / 430.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.2619, allocations: 4 kB / 430.5 MB, free: 6.449 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001498/0.2634, allocations: 0.8516 MB / 431.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2634, allocations: 12.03 kB / 431.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.2635, allocations: 107.9 kB / 431.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2637, allocations: 76.47 kB / 431.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.2642, allocations: 336.3 kB / 431.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.2643, allocations: 37.69 kB / 431.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.2644, allocations: 56.38 kB / 431.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.2653, allocations: 0.577 MB / 432.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2654, allocations: 4 kB / 432.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.2654, allocations: 24 kB / 432.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.2654, allocations: 12 kB / 432.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000913/0.2663, allocations: 464.9 kB / 433 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.2692, allocations: 1.904 MB / 434.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009007/0.2701, allocations: 0.5151 MB / 435.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/0.2707, allocations: 358 kB / 435.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.2707, allocations: 8.438 kB / 435.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2708, allocations: 39.06 kB / 435.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.094e-06/0.2708, allocations: 0 / 435.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.00429/0.2751, allocations: 1.74 MB / 437.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.2751, allocations: 55.91 kB / 437.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.2755, allocations: 361.7 kB / 438 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.2756, allocations: 29.7 kB / 438 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.2758, allocations: 249.3 kB / 438.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.2759, allocations: 218.1 kB / 438.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2761, allocations: 90.34 kB / 438.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2763, allocations: 358.7 kB / 438.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.2766, allocations: 165.2 kB / 439.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.277, allocations: 216.8 kB / 439.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007278/0.2777, allocations: 382.1 kB / 439.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2777, allocations: 0 / 439.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001233/0.279, allocations: 0.6641 MB / 440.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.279, allocations: 4 kB / 440.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.279, allocations: 0 / 440.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007325/0.2797, allocations: 247.2 kB / 440.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.28, allocations: 71.92 kB / 440.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.2879, allocations: 7.042 MB / 447.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.2882, allocations: 20.02 kB / 447.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.2882, allocations: 20.09 kB / 447.7 MB, free: 4.43 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: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.2885, allocations: 173.8 kB / 447.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.2886, allocations: 55.61 kB / 447.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.2887, allocations: 68.95 kB / 448 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2887, allocations: 8.062 kB / 448 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.2887, allocations: 4 kB / 448 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.2887, allocations: 3.984 kB / 448 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.2909, allocations: 1.237 MB / 449.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2909, allocations: 0 / 449.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.2912, allocations: 63.91 kB / 449.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006586/0.2919, allocations: 251.2 kB / 449.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.2919, allocations: 11.98 kB / 449.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007163/0.2991, allocations: 7.041 MB / 456.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2991, allocations: 4.031 kB / 456.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.3009, allocations: 1.017 MB / 457.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.3012, allocations: 87.69 kB / 457.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.3012, allocations: 19.88 kB / 457.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.3015, allocations: 19.92 kB / 457.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.3016, allocations: 60.39 kB / 457.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.3017, allocations: 15.94 kB / 457.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003016/0.302, allocations: 259.2 kB / 458.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.302, allocations: 0 / 458.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008738/0.3029, allocations: 180 kB / 458.3 MB, free: 9.316 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00222/0.3051, allocations: 1.572 MB / 459.8 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.3068, allocations: 1.005 MB / 460.8 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3068, allocations: 4 kB / 460.8 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.308, allocations: 0.8215 MB / 461.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.3085, allocations: 96.66 kB / 461.8 MB, free: 5.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.3163, allocations: 5.05 MB / 466.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3166, allocations: 283.9 kB / 467.1 MB, free: 216 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.3168, allocations: 48.55 kB / 467.1 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.317, allocations: 171.4 kB / 467.3 MB, free: 16 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.317, allocations: 4 kB / 467.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/0.3733, allocations: 14.35 MB / 481.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.37, allocations: 11.05 kB / 481.7 MB, free: 1.895 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Capacitor1.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor1.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Capacitor2.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor2.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor2.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor2.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor3.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor3.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.28925031470135]