Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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.001731/0.001731, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002059/0.002059, allocations: 202.7 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2615, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005486/0.267, allocations: 3.838 MB / 435 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.2691, allocations: 0.9814 MB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.2694, allocations: 15.94 kB / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.2696, allocations: 102.9 kB / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.2702, allocations: 202.2 kB / 436.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.2706, allocations: 191.7 kB / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007495/0.2714, allocations: 0.7361 MB / 437.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.2717, allocations: 159.7 kB / 437.3 MB, free: 400 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.272, allocations: 298.9 kB / 437.6 MB, free: 100 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.2725, allocations: 330.7 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.2726, allocations: 60 kB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2727, allocations: 64 kB / 438.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.2729, allocations: 147.5 kB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.2732, allocations: 274.7 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007632/0.2739, allocations: 0.7312 MB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2739, allocations: 4 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2739, allocations: 7.938 kB / 439.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.274, allocations: 0 / 439.2 MB, free: 14.49 MB / 350.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.001518/0.2755, allocations: 0.8593 MB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2755, allocations: 8.031 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.2757, allocations: 107.9 kB / 440.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.276, allocations: 104.4 kB / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/0.2767, allocations: 344.3 kB / 440.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.2767, allocations: 41.69 kB / 440.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.853e-05/0.2768, allocations: 52.38 kB / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/0.2778, allocations: 0.5732 MB / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.2778, allocations: 0 / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.2778, allocations: 24 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.2778, allocations: 16 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/0.2787, allocations: 464.9 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.2818, allocations: 1.908 MB / 443.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009622/0.2828, allocations: 0.5228 MB / 444.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.2834, allocations: 362 kB / 444.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.72e-05/0.2835, allocations: 4.5 kB / 444.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.2835, allocations: 39.06 kB / 444.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 3.206e-06/0.2835, allocations: 0 / 444.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004574/0.2881, allocations: 1.732 MB / 446.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.2882, allocations: 59.91 kB / 446.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.2886, allocations: 365.7 kB / 446.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.2887, allocations: 37.7 kB / 446.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.2889, allocations: 245.3 kB / 447 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.2891, allocations: 218.2 kB / 447.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.2892, allocations: 90.34 kB / 447.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2894, allocations: 362.7 kB / 447.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.2897, allocations: 161.2 kB / 447.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.2901, allocations: 216.8 kB / 448.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.2908, allocations: 378.1 kB / 448.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2908, allocations: 4 kB / 448.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00123/0.292, allocations: 0.6602 MB / 449.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.292, allocations: 4 kB / 449.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.292, allocations: 8 kB / 449.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/0.2928, allocations: 259.2 kB / 449.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.2931, allocations: 63.89 kB / 449.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.3005, allocations: 7.033 MB / 456.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.3008, allocations: 12 kB / 456.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.3009, allocations: 23.97 kB / 456.5 MB, free: 12.43 MB / 366.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.0002945/0.3011, allocations: 178.3 kB / 456.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.3012, allocations: 55.61 kB / 456.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.3014, allocations: 73 kB / 456.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3014, allocations: 8 kB / 456.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3014, allocations: 0 / 456.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3014, allocations: 0 / 456.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.3037, allocations: 1.249 MB / 458 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3037, allocations: 3.938 kB / 458 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.304, allocations: 55.95 kB / 458.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006689/0.3047, allocations: 263.6 kB / 458.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.3047, allocations: 12 kB / 458.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007106/0.3118, allocations: 7.038 MB / 465.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3118, allocations: 0 / 465.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.3136, allocations: 1.021 MB / 466.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.3138, allocations: 83.66 kB / 466.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.3139, allocations: 12 kB / 466.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.3141, allocations: 15.98 kB / 466.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.3143, allocations: 56.39 kB / 466.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.3143, allocations: 15.94 kB / 466.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000321/0.3146, allocations: 267.2 kB / 466.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3146, allocations: 0 / 466.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008995/0.3155, allocations: 172 kB / 467 MB, free: 1.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.002195/0.3177, allocations: 1.592 MB / 468.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.3194, allocations: 1.002 MB / 469.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3194, allocations: 4 kB / 469.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3206, allocations: 0.8214 MB / 470.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.3211, allocations: 101.9 kB / 470.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007546/0.3286, allocations: 5.087 MB / 475.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3289, allocations: 284.3 kB / 475.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.3291, allocations: 52.55 kB / 476 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.3293, allocations: 175.4 kB / 476.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3293, allocations: 4 kB / 476.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/0.386, allocations: 14.6 MB / 490.8 MB, free: 9.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.32, allocations: 6.953 kB / 490.8 MB, free: 9.566 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor1.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Capacitor2.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor2.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor2.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor2.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor3.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor3.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.25197921798099]