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.001713/0.001713, allocations: 120 kB / 18.49 MB, free: 4.566 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.002046/0.002046, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.528/1.528, allocations: 230.4 MB / 254.7 MB, free: 15.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002521/0.002521, allocations: 63.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1094, allocations: 53.37 MB / 427.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005485/0.1149, allocations: 4.308 MB / 431.4 MB, free: 316 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.117, allocations: 1.02 MB / 432.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.1173, allocations: 15.88 kB / 432.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1175, allocations: 95.06 kB / 432.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.118, allocations: 194.2 kB / 432.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.1185, allocations: 203.7 kB / 432.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007729/0.1192, allocations: 0.7439 MB / 433.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.1195, allocations: 159.1 kB / 433.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003982/0.1199, allocations: 298.9 kB / 434.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003968/0.1203, allocations: 326.6 kB / 434.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.41e-05/0.1204, allocations: 60 kB / 434.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1205, allocations: 64 kB / 434.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.1207, allocations: 155.4 kB / 434.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.121, allocations: 330.3 kB / 435 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007632/0.1217, allocations: 0.7235 MB / 435.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1217, allocations: 0 / 435.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1217, allocations: 0 / 435.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1217, allocations: 0 / 435.7 MB, free: 11.93 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.0016/0.1233, allocations: 0.9346 MB / 436.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1234, allocations: 8.031 kB / 436.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.398e-05/0.1234, allocations: 29.48 kB / 436.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.1236, allocations: 111.9 kB / 436.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.124, allocations: 104.4 kB / 436.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.1246, allocations: 410.1 kB / 437.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.1246, allocations: 49.69 kB / 437.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/0.1247, allocations: 68.02 kB / 437.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1257, allocations: 0.6005 MB / 438 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.1257, allocations: 0 / 438 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.1258, allocations: 28 kB / 438.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.1258, allocations: 12 kB / 438.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009405/0.1267, allocations: 492.9 kB / 438.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.1298, allocations: 2.209 MB / 440.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.1309, allocations: 0.6734 MB / 441.4 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.1315, allocations: 402.7 kB / 441.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.1316, allocations: 8.656 kB / 441.8 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.1316, allocations: 47.22 kB / 441.9 MB, free: 5.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.1316, allocations: 0 / 441.9 MB, free: 5.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.007951/0.1396, allocations: 3.525 MB / 445.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.1396, allocations: 60.41 kB / 445.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.1401, allocations: 369.7 kB / 445.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.1401, allocations: 45.7 kB / 445.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.1403, allocations: 237.6 kB / 446.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.1406, allocations: 368.8 kB / 446.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.1408, allocations: 146.6 kB / 446.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.141, allocations: 370.7 kB / 447 MB, free: 276 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1921/0.3331, allocations: 292.5 kB / 447.3 MB, free: 24.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.3338, allocations: 366.1 kB / 447.6 MB, free: 24.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.335, allocations: 0.6665 MB / 448.3 MB, free: 24.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.335, allocations: 1.625 kB / 448.3 MB, free: 24.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001898/0.3369, allocations: 1.115 MB / 449.4 MB, free: 24.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3369, allocations: 5.062 kB / 449.4 MB, free: 24.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.3369, allocations: 1.344 kB / 449.4 MB, free: 24.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3381, allocations: 426.3 kB / 449.8 MB, free: 23.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.3386, allocations: 100.2 kB / 449.9 MB, free: 23.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009044/0.3476, allocations: 13.06 MB / 463 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.3481, allocations: 24.22 kB / 463 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/0.3481, allocations: 30.64 kB / 463 MB, free: 12.15 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 (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (2,5,100.0%), (2,5,100.0%), (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.0003232/0.3485, allocations: 203 kB / 463.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3486, allocations: 68.48 kB / 463.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.3488, allocations: 94.23 kB / 463.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3488, allocations: 12.78 kB / 463.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/0.3488, allocations: 10.66 kB / 463.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.3488, allocations: 5.062 kB / 463.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003531/0.3524, allocations: 2.131 MB / 465.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3524, allocations: 1.281 kB / 465.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.3528, allocations: 85.78 kB / 465.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.3542, allocations: 491.4 kB / 466.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.3542, allocations: 17.36 kB / 466.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009665/0.3639, allocations: 10.89 MB / 477 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3639, allocations: 3.938 kB / 477 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/0.3671, allocations: 1.716 MB / 478.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.3674, allocations: 201.1 kB / 478.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.3675, allocations: 18.2 kB / 479 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.3678, allocations: 31.19 kB / 479 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.3681, allocations: 88.97 kB / 479.1 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.3681, allocations: 21.2 kB / 479.1 MB, free: 348 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.3684, allocations: 263.2 kB / 479.4 MB, free: 204 kB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3684, allocations: 4.766 kB / 479.4 MB, free: 200 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001303/0.3697, allocations: 265.2 kB / 479.6 MB, free: 160 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($outputAlias_iAC[2],$outputAlias_iAC[3],$outputAlias_uAC[3],$outputAlias_Losses) * 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 (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (2,5,100.0%), (2,5,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003545/0.3732, allocations: 2.28 MB / 481.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.3763, allocations: 1.757 MB / 483.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3763, allocations: 0 / 483.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.3786, allocations: 1.281 MB / 484.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.3793, allocations: 112.3 kB / 485 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.391, allocations: 6.692 MB / 491.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.3917, allocations: 0.9563 MB / 492.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.392, allocations: 90.38 kB / 492.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/0.3923, allocations: 217.6 kB / 493 MB, free: 8.328 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3923, allocations: 1.406 kB / 493 MB, free: 8.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06137/0.4537, allocations: 19.13 MB / 0.5001 GB, free: 8.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.6, allocations: 6.719 kB / 0.5001 GB, free: 8.988 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.200426648021676] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 13.76711883500684 13.789579084 13.663491676 Calling exit ...