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.001815/0.001815, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001997/0.001997, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.401/1.401, allocations: 230.4 MB / 254 MB, free: 15.16 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.00179/0.00179, allocations: 67.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1058, allocations: 53.37 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00556/0.1114, allocations: 4.29 MB / 430.7 MB, free: 316 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1132, allocations: 1.02 MB / 431.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.1133, allocations: 15.94 kB / 431.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.1136, allocations: 95 kB / 431.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.114, allocations: 210.2 kB / 432 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1144, allocations: 191.7 kB / 432.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007936/0.1152, allocations: 0.7439 MB / 432.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.1154, allocations: 155.1 kB / 433.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.1158, allocations: 302.8 kB / 433.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.1162, allocations: 330.5 kB / 433.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.745e-05/0.1163, allocations: 64 kB / 433.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1164, allocations: 67.98 kB / 433.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1166, allocations: 143.5 kB / 434 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.1169, allocations: 334.3 kB / 434.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.1177, allocations: 0.7235 MB / 435 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1177, allocations: 0 / 435 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1177, allocations: 0 / 435 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1177, allocations: 4 kB / 435 MB, free: 11.92 MB / 366.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.001544/0.1192, allocations: 0.9307 MB / 436 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1193, allocations: 12.03 kB / 436 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.1194, allocations: 119.8 kB / 436.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.1198, allocations: 96.48 kB / 436.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.1203, allocations: 402.2 kB / 436.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.1204, allocations: 41.69 kB / 436.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.1205, allocations: 64.3 kB / 436.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009289/0.1214, allocations: 0.5732 MB / 437.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1214, allocations: 0 / 437.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.1214, allocations: 20 kB / 437.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1215, allocations: 12 kB / 437.3 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.1223, allocations: 472.9 kB / 437.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.1252, allocations: 2.087 MB / 439.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/0.1261, allocations: 0.5908 MB / 440.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.1267, allocations: 358.2 kB / 440.8 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.1267, allocations: 12.5 kB / 440.8 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1268, allocations: 35.12 kB / 440.8 MB, free: 5.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=60): time 1.673e-06/0.1268, allocations: 0 / 440.8 MB, free: 5.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.004466/0.1312, allocations: 2.037 MB / 442.9 MB, free: 3.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1313, allocations: 59.97 kB / 442.9 MB, free: 3.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.1317, allocations: 373.6 kB / 443.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.013e-05/0.1317, allocations: 37.7 kB / 443.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1319, allocations: 245.4 kB / 443.6 MB, free: 2.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.1321, allocations: 214.1 kB / 443.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.1322, allocations: 86.25 kB / 443.9 MB, free: 2.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1324, allocations: 358.7 kB / 444.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.1327, allocations: 169 kB / 444.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.1331, allocations: 215.8 kB / 444.6 MB, free: 1.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.1338, allocations: 384.8 kB / 445 MB, free: 1.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1338, allocations: 0 / 445 MB, free: 1.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001228/0.135, allocations: 0.658 MB / 445.6 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.135, allocations: 8 kB / 445.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.135, allocations: 0 / 445.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000744/0.1358, allocations: 255.2 kB / 445.9 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.1361, allocations: 63.91 kB / 445.9 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1875/0.3235, allocations: 7.498 MB / 453.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.3238, allocations: 18.48 kB / 453.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.3239, allocations: 14.75 kB / 453.5 MB, free: 18.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.0002025/0.3241, allocations: 179.4 kB / 453.6 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.3242, allocations: 53.31 kB / 453.7 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.3243, allocations: 70.98 kB / 453.8 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3243, allocations: 6.5 kB / 453.8 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3243, allocations: 3.25 kB / 453.8 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3243, allocations: 3.562 kB / 453.8 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.3261, allocations: 1.34 MB / 455.1 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3261, allocations: 0 / 455.1 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.3264, allocations: 55.58 kB / 455.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/0.327, allocations: 260.1 kB / 455.4 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.327, allocations: 16.84 kB / 455.4 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004876/0.3319, allocations: 7.506 MB / 462.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3319, allocations: 1.688 kB / 462.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3335, allocations: 1.02 MB / 464 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.3337, allocations: 161.9 kB / 464.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.3337, allocations: 15.72 kB / 464.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.334, allocations: 18.61 kB / 464.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.3341, allocations: 53.55 kB / 464.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.3341, allocations: 15.03 kB / 464.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.3344, allocations: 263.4 kB / 464.5 MB, free: 9.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3344, allocations: 2.969 kB / 464.5 MB, free: 9.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008692/0.3353, allocations: 177.7 kB / 464.7 MB, free: 9.855 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.001865/0.3371, allocations: 1.578 MB / 466.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.3386, allocations: 1.018 MB / 467.3 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3386, allocations: 4.062 kB / 467.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009783/0.3396, allocations: 0.8165 MB / 468.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.3401, allocations: 95.12 kB / 468.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006567/0.3466, allocations: 5.085 MB / 473.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.347, allocations: 0.8898 MB / 474.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.3472, allocations: 52.62 kB / 474.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.3474, allocations: 171.7 kB / 474.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3474, allocations: 1.594 kB / 474.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05013/0.3975, allocations: 14.01 MB / 488.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.7, allocations: 2.25 kB / 488.4 MB, free: 14.82 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.617800464038737]