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.0009046/0.0009046, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004806/0.004806, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.89/0.89, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.459e-05, allocations: 2.281 kB / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.14/0.14, allocations: 3.758 MB / 302.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1415, allocations: 0.9263 MB / 303.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1417, allocations: 12.53 kB / 303.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.1419, allocations: 99.97 kB / 303.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.1423, allocations: 207.6 kB / 303.5 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1426, allocations: 167 kB / 303.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005386/0.1431, allocations: 0.7587 MB / 304.4 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.1434, allocations: 145.2 kB / 304.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004527/0.1438, allocations: 426.3 kB / 304.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.1442, allocations: 247 kB / 305.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.1443, allocations: 60.72 kB / 305.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1444, allocations: 60.72 kB / 305.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.1446, allocations: 159.4 kB / 305.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.1448, allocations: 229 kB / 305.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000853/0.1457, allocations: 0.7269 MB / 306.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1457, allocations: 0.9688 kB / 306.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1457, allocations: 0 / 306.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.1457, allocations: 0 / 306.4 MB, free: 12.09 MB / 282.7 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.0011/0.1468, allocations: 0.8533 MB / 307.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1469, allocations: 18.47 kB / 307.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.147, allocations: 112.7 kB / 307.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.1471, allocations: 73.36 kB / 307.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.1475, allocations: 333 kB / 307.8 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.1476, allocations: 38.84 kB / 307.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.1476, allocations: 56.81 kB / 307.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.1484, allocations: 0.5729 MB / 308.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1484, allocations: 192 / 308.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.1484, allocations: 24.72 kB / 308.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.1485, allocations: 13.5 kB / 308.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.1492, allocations: 463.1 kB / 308.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.1512, allocations: 1.909 MB / 310.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.1518, allocations: 0.5128 MB / 311.4 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.1522, allocations: 357.4 kB / 311.7 MB, free: 8.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1522, allocations: 6.688 kB / 311.7 MB, free: 8.961 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1523, allocations: 44.84 kB / 311.8 MB, free: 8.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=60): time 1.983e-06/0.1523, allocations: 0 / 311.8 MB, free: 8.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.00271/0.155, allocations: 1.731 MB / 313.5 MB, free: 8.113 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.155, allocations: 58.78 kB / 313.6 MB, free: 8.051 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.1553, allocations: 361.1 kB / 313.9 MB, free: 7.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1553, allocations: 36.45 kB / 313.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1554, allocations: 245.7 kB / 314.2 MB, free: 7.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.1555, allocations: 213.5 kB / 314.4 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.1556, allocations: 94.77 kB / 314.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.1557, allocations: 359.1 kB / 314.8 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.1559, allocations: 166.3 kB / 315 MB, free: 7.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.1561, allocations: 217.4 kB / 315.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.1566, allocations: 381.3 kB / 315.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1566, allocations: 0 / 315.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007719/0.1573, allocations: 0.6592 MB / 316.2 MB, free: 6.441 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1574, allocations: 4.75 kB / 316.2 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1574, allocations: 4.969 kB / 316.2 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.1579, allocations: 263.8 kB / 316.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.158, allocations: 60.38 kB / 316.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.1616, allocations: 7.034 MB / 323.6 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.1618, allocations: 17.7 kB / 323.6 MB, free: 0 / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.1619, allocations: 14.91 kB / 323.6 MB, free: 0 / 282.7 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.0002273/0.1621, allocations: 173.9 kB / 323.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.1622, allocations: 53.05 kB / 323.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.491e-05/0.1622, allocations: 75.3 kB / 323.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1622, allocations: 6.75 kB / 323.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.1622, allocations: 2.875 kB / 323.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1622, allocations: 2.906 kB / 323.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.1638, allocations: 1.23 MB / 325.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1638, allocations: 4.469 kB / 325.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.164, allocations: 62.27 kB / 325.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.1644, allocations: 256.2 kB / 325.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.1645, allocations: 17.7 kB / 325.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004752/0.1692, allocations: 7.031 MB / 332.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1692, allocations: 2.844 kB / 332.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.1705, allocations: 1.015 MB / 333.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.1707, allocations: 83.97 kB / 333.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.1707, allocations: 11.5 kB / 333.6 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.1709, allocations: 20.47 kB / 333.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.171, allocations: 58.06 kB / 333.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.171, allocations: 17.98 kB / 333.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002183/0.1713, allocations: 254 kB / 334 MB, free: 7.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1713, allocations: 0 / 334 MB, free: 7.863 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007116/0.172, allocations: 177.9 kB / 334.2 MB, free: 7.84 MB / 298.7 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.001376/0.1733, allocations: 1.577 MB / 335.7 MB, free: 6.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.1745, allocations: 1.013 MB / 336.7 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1745, allocations: 3.938 kB / 336.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.1752, allocations: 0.8202 MB / 337.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1756, allocations: 92.59 kB / 337.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/0.1811, allocations: 4.995 MB / 342.7 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1814, allocations: 287.9 kB / 342.9 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.1815, allocations: 48.56 kB / 343 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.1817, allocations: 172.4 kB / 343.2 MB, free: 324 kB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1817, allocations: 0 / 343.2 MB, free: 324 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.2192, allocations: 14.53 MB / 357.7 MB, free: 1.734 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.561/8.78, allocations: 11.91 kB / 357.7 MB, free: 1.723 MB / 314.7 MB " [Timeout remaining time 651] (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] [Calling os._exit(0), Time elapsed: 10.542569263838232] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 8.881081987172365 8.892346551 8.744594461 Calling exit ...