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.001279/0.001279, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.00134/0.00134, allocations: 188.7 kB / 23.72 MB, free: 4.684 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.419/1.419, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001738/0.001738, allocations: 43.92 kB / 370.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2768, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005659/0.2825, allocations: 4.277 MB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.2843, allocations: 0.9385 MB / 427.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.2845, allocations: 11.94 kB / 427.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.2848, allocations: 103 kB / 428 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.2853, allocations: 202.3 kB / 428.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.2856, allocations: 163.8 kB / 428.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007631/0.2863, allocations: 0.7243 MB / 429.1 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.2866, allocations: 159.7 kB / 429.2 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.287, allocations: 294.9 kB / 429.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.2874, allocations: 326.6 kB / 429.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.469e-05/0.2875, allocations: 60 kB / 429.9 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.2876, allocations: 68 kB / 429.9 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.2877, allocations: 147.4 kB / 430.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.288, allocations: 330.3 kB / 430.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.2888, allocations: 0.7166 MB / 431.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2888, allocations: 0 / 431.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2888, allocations: 0 / 431.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.2888, allocations: 0 / 431.1 MB, free: 6.047 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.001488/0.2903, allocations: 0.8516 MB / 432 MB, free: 5.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2903, allocations: 16.03 kB / 432 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.2905, allocations: 104 kB / 432.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2906, allocations: 76.47 kB / 432.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.2912, allocations: 336.3 kB / 432.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.2912, allocations: 37.69 kB / 432.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.2913, allocations: 56.31 kB / 432.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2923, allocations: 0.5693 MB / 433.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2923, allocations: 3.938 kB / 433.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.2924, allocations: 27.94 kB / 433.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.2924, allocations: 16 kB / 433.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008879/0.2933, allocations: 468.9 kB / 433.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.2962, allocations: 2.021 MB / 435.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.297, allocations: 0.519 MB / 436.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/0.2976, allocations: 366.7 kB / 436.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.2977, allocations: 4.5 kB / 436.6 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.2977, allocations: 39.06 kB / 436.6 MB, free: 372 kB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.385e-06/0.2977, allocations: 0 / 436.6 MB, free: 372 kB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004356/0.3021, allocations: 1.736 MB / 438.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3021, allocations: 55.91 kB / 438.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.3025, allocations: 365.7 kB / 438.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.3026, allocations: 33.7 kB / 438.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3027, allocations: 245.3 kB / 439 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.3029, allocations: 206.2 kB / 439.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.303, allocations: 94.34 kB / 439.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3032, allocations: 362.7 kB / 439.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.3036, allocations: 169.2 kB / 439.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.3039, allocations: 212.8 kB / 440 MB, free: 12.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006928/0.3046, allocations: 382.1 kB / 440.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3046, allocations: 0 / 440.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001229/0.3059, allocations: 0.6641 MB / 441.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3059, allocations: 4 kB / 441.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3059, allocations: 0 / 441.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007584/0.3066, allocations: 267.2 kB / 441.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.3069, allocations: 55.91 kB / 441.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00711/0.314, allocations: 7.096 MB / 448.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.3143, allocations: 20.02 kB / 448.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.3144, allocations: 16 kB / 448.5 MB, free: 3.848 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.0002528/0.3146, allocations: 169.8 kB / 448.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/0.3147, allocations: 55.61 kB / 448.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.3148, allocations: 69.06 kB / 448.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3148, allocations: 8.062 kB / 448.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.3149, allocations: 11.94 kB / 448.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3149, allocations: 3.984 kB / 448.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.3172, allocations: 1.303 MB / 450.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3172, allocations: 0 / 450.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.3174, allocations: 51.95 kB / 450.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006948/0.3181, allocations: 259.3 kB / 450.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.3182, allocations: 12 kB / 450.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007054/0.3252, allocations: 7.095 MB / 457.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3252, allocations: 0 / 457.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.327, allocations: 1.025 MB / 458.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.3273, allocations: 75.7 kB / 458.7 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.3273, allocations: 12 kB / 458.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3276, allocations: 15.98 kB / 458.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.3277, allocations: 60.52 kB / 458.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.3278, allocations: 19.94 kB / 458.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.3281, allocations: 263.2 kB / 459 MB, free: 8.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3281, allocations: 0 / 459 MB, free: 8.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008762/0.329, allocations: 172 kB / 459.2 MB, free: 8.629 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.002096/0.3311, allocations: 1.587 MB / 460.8 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.3327, allocations: 1.013 MB / 461.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3327, allocations: 4.062 kB / 461.8 MB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.3339, allocations: 0.8137 MB / 462.6 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.3344, allocations: 89.58 kB / 462.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007656/0.342, allocations: 5.054 MB / 467.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.3426, allocations: 0.8909 MB / 468.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.3428, allocations: 52.53 kB / 468.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.343, allocations: 171.4 kB / 468.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.343, allocations: 0 / 468.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07551/0.4185, allocations: 14.37 MB / 483.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/13.93, allocations: 6.812 kB / 483.2 MB, free: 0.5117 MB / 382.1 MB " [Timeout remaining time 646] (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.7933841869999]