Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001437/0.001437, allocations: 115.5 kB / 18.45 MB, free: 4.609 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.001591/0.001591, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 207.6 MB / 231.8 MB, free: 4.055 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 52.55 kB / 342.3 MB, free: 9.973 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1277, allocations: 49.14 MB / 391.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006211/0.1339, allocations: 4.204 MB / 395.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.1363, allocations: 0.9625 MB / 396.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.1367, allocations: 11.94 kB / 396.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.1371, allocations: 99 kB / 396.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006876/0.1378, allocations: 198.3 kB / 396.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.1382, allocations: 159.8 kB / 397.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000941/0.1391, allocations: 0.7398 MB / 397.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.1395, allocations: 159.1 kB / 398 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.1399, allocations: 286.9 kB / 398.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.1404, allocations: 338.5 kB / 398.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.1405, allocations: 60 kB / 398.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1406, allocations: 64 kB / 398.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.1408, allocations: 147.4 kB / 398.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.1411, allocations: 334.3 kB / 399.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008987/0.142, allocations: 0.7118 MB / 399.9 MB, free: 196 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.142, allocations: 0 / 399.9 MB, free: 196 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.142, allocations: 0 / 399.9 MB, free: 196 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.142, allocations: 0 / 399.9 MB, free: 196 kB / 318.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.001747/0.1438, allocations: 0.9231 MB / 400.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.1439, allocations: 12.03 kB / 400.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.144, allocations: 107.9 kB / 400.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.1442, allocations: 80.47 kB / 401 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/0.1448, allocations: 394.2 kB / 401.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.1449, allocations: 37.69 kB / 401.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.145, allocations: 60.31 kB / 401.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1461, allocations: 0.5732 MB / 402.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1461, allocations: 3.938 kB / 402.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.1462, allocations: 20 kB / 402.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.1462, allocations: 19.94 kB / 402.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009878/0.1472, allocations: 464.9 kB / 402.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.1506, allocations: 2.079 MB / 404.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1517, allocations: 0.583 MB / 405.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006388/0.1523, allocations: 363.2 kB / 405.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/0.1524, allocations: 12.55 kB / 405.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1524, allocations: 35.12 kB / 405.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/0.1524, allocations: 0 / 405.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.005079/0.1575, allocations: 2.041 MB / 407.7 MB, free: 8.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.1576, allocations: 59.97 kB / 407.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.158, allocations: 361.7 kB / 408.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.1581, allocations: 33.7 kB / 408.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.1583, allocations: 245.3 kB / 408.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.1585, allocations: 210.2 kB / 408.5 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1587, allocations: 90.25 kB / 408.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1588, allocations: 362.7 kB / 409 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.1592, allocations: 169 kB / 409.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.1596, allocations: 211.8 kB / 409.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.1604, allocations: 380.9 kB / 409.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1604, allocations: 0 / 409.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001391/0.1618, allocations: 0.6618 MB / 410.4 MB, free: 5.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.1618, allocations: 8 kB / 410.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1618, allocations: 0 / 410.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008162/0.1626, allocations: 263.1 kB / 410.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1629, allocations: 60 kB / 410.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008217/0.1711, allocations: 7.509 MB / 418.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.1716, allocations: 24.08 kB / 418.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.1717, allocations: 16 kB / 418.3 MB, free: 12.79 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.0003205/0.172, allocations: 177.8 kB / 418.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1721, allocations: 55.61 kB / 418.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1723, allocations: 64.95 kB / 418.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1723, allocations: 4 kB / 418.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.1723, allocations: 8 kB / 418.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.1723, allocations: 4.453 kB / 418.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.1747, allocations: 1.341 MB / 419.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1747, allocations: 0 / 419.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.175, allocations: 51.97 kB / 420 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007768/0.1758, allocations: 267.1 kB / 420.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.1758, allocations: 11.98 kB / 420.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007881/0.1837, allocations: 7.502 MB / 427.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1837, allocations: 4.062 kB / 427.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.1856, allocations: 1.026 MB / 428.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/0.1859, allocations: 156.8 kB / 428.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.186, allocations: 15.98 kB / 428.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.1862, allocations: 12 kB / 428.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.1864, allocations: 56.48 kB / 429 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.1865, allocations: 15.94 kB / 429 MB, free: 1.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.1868, allocations: 259.2 kB / 429.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1868, allocations: 4.469 kB / 429.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00097/0.1878, allocations: 176 kB / 429.4 MB, free: 0.9023 MB / 350.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.002373/0.1902, allocations: 1.578 MB / 431 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.1922, allocations: 1.017 MB / 432 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1922, allocations: 0 / 432 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.1936, allocations: 0.818 MB / 432.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.1943, allocations: 97.39 kB / 433 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008411/0.2027, allocations: 5.064 MB / 438 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.2034, allocations: 0.887 MB / 438.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.2036, allocations: 52.55 kB / 439 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.2038, allocations: 171.4 kB / 439.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.2038, allocations: 0 / 439.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06071/0.2645, allocations: 13.93 MB / 453.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/13.89, allocations: 64 / 453.1 MB, free: 8.945 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor1.v from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Capacitor2.v in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor2.v from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor2.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor2.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor3.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor3.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.53375840598892]