Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.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.001689/0.001689, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001874/0.001874, allocations: 214.1 kB / 23.74 MB, free: 4.66 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.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.91 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2674, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006098/0.2735, allocations: 4.298 MB / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2756, allocations: 1.032 MB / 436.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.2758, allocations: 11.94 kB / 436.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.2761, allocations: 99 kB / 436.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.2765, allocations: 198.2 kB / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.2769, allocations: 191.7 kB / 437 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008058/0.2777, allocations: 0.7478 MB / 437.8 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.278, allocations: 155.7 kB / 437.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.2784, allocations: 302.9 kB / 438.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.2789, allocations: 342.5 kB / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.495e-05/0.279, allocations: 60 kB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.2791, allocations: 64 kB / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.2793, allocations: 151.4 kB / 438.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.2796, allocations: 322.3 kB / 439.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.2804, allocations: 0.7283 MB / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2804, allocations: 0 / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2804, allocations: 0 / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.2804, allocations: 0 / 439.9 MB, free: 13.99 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.001495/0.2819, allocations: 0.8632 MB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2819, allocations: 8.031 kB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.2821, allocations: 104 kB / 440.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.2824, allocations: 100.4 kB / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.283, allocations: 352.2 kB / 441.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.283, allocations: 45.62 kB / 441.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.512e-05/0.2831, allocations: 56.38 kB / 441.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009371/0.2841, allocations: 0.5693 MB / 442 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2841, allocations: 0 / 442 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.2841, allocations: 24 kB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.2841, allocations: 16 kB / 442 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/0.285, allocations: 468.9 kB / 442.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.2884, allocations: 2.032 MB / 444.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.2893, allocations: 0.519 MB / 445 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.2899, allocations: 350 kB / 445.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.2899, allocations: 8.5 kB / 445.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.29, allocations: 50.98 kB / 445.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.694e-06/0.29, allocations: 0 / 445.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004258/0.2942, allocations: 1.732 MB / 447.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2943, allocations: 63.89 kB / 447.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.2947, allocations: 369.7 kB / 447.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.2947, allocations: 37.7 kB / 447.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2949, allocations: 245.3 kB / 447.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.2951, allocations: 210.2 kB / 448 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.2952, allocations: 90.3 kB / 448.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2954, allocations: 366.7 kB / 448.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.2957, allocations: 165.2 kB / 448.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.2961, allocations: 216.8 kB / 448.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.2968, allocations: 382.1 kB / 449.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2968, allocations: 0 / 449.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001212/0.298, allocations: 0.6602 MB / 449.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.298, allocations: 4 kB / 449.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.298, allocations: 0 / 449.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.2987, allocations: 259.1 kB / 450.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.299, allocations: 67.89 kB / 450.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/0.3061, allocations: 7.08 MB / 457.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.3064, allocations: 12.16 kB / 457.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.3064, allocations: 23.98 kB / 457.3 MB, free: 11.74 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.0002517/0.3067, allocations: 178.8 kB / 457.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.3067, allocations: 55.61 kB / 457.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.3069, allocations: 65.02 kB / 457.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3069, allocations: 8 kB / 457.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3069, allocations: 0 / 457.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3069, allocations: 4.469 kB / 457.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.3091, allocations: 1.315 MB / 459 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3091, allocations: 0 / 459 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.3093, allocations: 59.89 kB / 459 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006437/0.31, allocations: 259.1 kB / 459.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.31, allocations: 8 kB / 459.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007013/0.317, allocations: 7.096 MB / 466.4 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.317, allocations: 0 / 466.4 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.3188, allocations: 1.017 MB / 467.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.319, allocations: 83.66 kB / 467.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.3191, allocations: 16.12 kB / 467.5 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.3193, allocations: 23.98 kB / 467.5 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3195, allocations: 60.33 kB / 467.6 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.3195, allocations: 11.94 kB / 467.6 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000304/0.3198, allocations: 267.2 kB / 467.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3198, allocations: 480 / 467.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008661/0.3207, allocations: 172 kB / 468 MB, free: 0.5 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.002136/0.3228, allocations: 1.583 MB / 469.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.3245, allocations: 1.013 MB / 470.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3245, allocations: 0 / 470.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.3256, allocations: 0.8292 MB / 471.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.3262, allocations: 100 kB / 471.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.3336, allocations: 5.077 MB / 476.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.3341, allocations: 0.8909 MB / 477.5 MB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000179/0.3343, allocations: 52.53 kB / 477.6 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.3345, allocations: 171.4 kB / 477.7 MB, free: 6.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3345, allocations: 0 / 477.7 MB, free: 6.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07823/0.4128, allocations: 14.47 MB / 492.2 MB, free: 8.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.81, allocations: 19.42 kB / 492.2 MB, free: 8.207 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor1.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Capacitor2.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor2.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor2.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor2.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor3.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor3.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.82996400399861]