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.001763/0.001763, allocations: 123 kB / 17.79 MB, free: 5.285 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.001972/0.001972, allocations: 189.2 kB / 20.73 MB, free: 2.352 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.472/1.472, allocations: 225.6 MB / 249.1 MB, free: 3.719 MB / 190.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.002452/0.002452, allocations: 51.92 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1213, allocations: 52.13 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005381/0.1267, allocations: 4.279 MB / 422.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1282, allocations: 0.9191 MB / 423 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.1283, allocations: 8 kB / 423 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.1285, allocations: 99 kB / 423.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.129, allocations: 202.3 kB / 423.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1293, allocations: 167.7 kB / 423.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00075/0.13, allocations: 0.7205 MB / 424.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.1303, allocations: 167 kB / 424.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.1307, allocations: 290.9 kB / 424.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.1311, allocations: 326.6 kB / 425 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.384e-05/0.1311, allocations: 60 kB / 425 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.1312, allocations: 60 kB / 425.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.1314, allocations: 155.4 kB / 425.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.1317, allocations: 322.3 kB / 425.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.1324, allocations: 0.7157 MB / 426.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1324, allocations: 0 / 426.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1324, allocations: 4 kB / 426.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1324, allocations: 0 / 426.3 MB, free: 4.098 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.001506/0.1339, allocations: 0.9308 MB / 427.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.134, allocations: 8.031 kB / 427.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.1341, allocations: 111.9 kB / 427.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1342, allocations: 72.52 kB / 427.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.1348, allocations: 398.1 kB / 427.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.1348, allocations: 41.69 kB / 427.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.78e-05/0.1349, allocations: 48.38 kB / 427.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.136, allocations: 0.577 MB / 428.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.136, allocations: 4 kB / 428.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/0.136, allocations: 28 kB / 428.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.1361, allocations: 12 kB / 428.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008829/0.1369, allocations: 464.9 kB / 428.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.1399, allocations: 2.087 MB / 431 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.1408, allocations: 0.5914 MB / 431.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.1414, allocations: 354.9 kB / 431.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1414, allocations: 8.562 kB / 432 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.1415, allocations: 51.05 kB / 432 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=60): time 1.723e-06/0.1415, allocations: 0 / 432 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.004492/0.1459, allocations: 2.021 MB / 434 MB, free: 11.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.146, allocations: 59.97 kB / 434.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.1464, allocations: 365.7 kB / 434.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.1464, allocations: 37.7 kB / 434.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1466, allocations: 241.4 kB / 434.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.1468, allocations: 218.1 kB / 434.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.1469, allocations: 94.2 kB / 435 MB, free: 10.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1471, allocations: 358.7 kB / 435.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.1474, allocations: 165 kB / 435.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.1478, allocations: 223.7 kB / 435.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.1485, allocations: 376.8 kB / 436.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1485, allocations: 0 / 436.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001229/0.1497, allocations: 0.6503 MB / 436.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1498, allocations: 11.94 kB / 436.8 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1498, allocations: 0 / 436.8 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/0.1505, allocations: 263.2 kB / 437 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.1508, allocations: 67.89 kB / 437.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/0.1579, allocations: 7.498 MB / 444.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.1582, allocations: 15.98 kB / 444.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.1582, allocations: 16 kB / 444.6 MB, free: 0.6992 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.0002326/0.1585, allocations: 180.5 kB / 444.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.1586, allocations: 59.61 kB / 444.9 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.1587, allocations: 60.95 kB / 444.9 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1587, allocations: 8 kB / 444.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.1587, allocations: 0 / 444.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1587, allocations: 3.984 kB / 444.9 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1601/0.3188, allocations: 1.337 MB / 446.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3188, allocations: 0 / 446.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.3191, allocations: 58.05 kB / 446.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00065/0.3197, allocations: 260.2 kB / 446.6 MB, free: 29.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.3198, allocations: 11.27 kB / 446.6 MB, free: 29.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005278/0.325, allocations: 7.504 MB / 454.1 MB, free: 23.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3251, allocations: 5.812 kB / 454.1 MB, free: 23.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.3266, allocations: 1.022 MB / 455.1 MB, free: 23.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.3268, allocations: 159.7 kB / 455.3 MB, free: 23.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.3269, allocations: 11.17 kB / 455.3 MB, free: 23.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.3271, allocations: 16.09 kB / 455.3 MB, free: 23.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.3273, allocations: 59.47 kB / 455.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.3273, allocations: 15.12 kB / 455.4 MB, free: 23.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.3276, allocations: 254.7 kB / 455.6 MB, free: 23.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3276, allocations: 0 / 455.6 MB, free: 23.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008541/0.3284, allocations: 179.2 kB / 455.8 MB, free: 23.45 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.001931/0.3304, allocations: 1.576 MB / 457.4 MB, free: 22.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.332, allocations: 1.017 MB / 458.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.332, allocations: 1.25 kB / 458.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.3332, allocations: 0.8224 MB / 459.2 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.3337, allocations: 84.97 kB / 459.3 MB, free: 21.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006951/0.3406, allocations: 5.057 MB / 464.4 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.341, allocations: 0.8885 MB / 465.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.3412, allocations: 53.88 kB / 465.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3414, allocations: 171.6 kB / 465.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3414, allocations: 0 / 465.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09445/0.4358, allocations: 13.92 MB / 479.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.3, allocations: 18.34 kB / 479.4 MB, free: 13.12 MB / 366.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.44055940490216]