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.001669/0.001669, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002152/0.002152, allocations: 211 kB / 24.53 MB, free: 4.07 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.491/1.491, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.002229/0.002229, allocations: 63.91 kB / 378.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2817, allocations: 53.41 MB / 432 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005694/0.2874, allocations: 4.31 MB / 436.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.2895, allocations: 1.024 MB / 437.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.2898, allocations: 15.94 kB / 437.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.2901, allocations: 99 kB / 437.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005917/0.2907, allocations: 194.3 kB / 437.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.2911, allocations: 195.7 kB / 437.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009051/0.292, allocations: 0.7478 MB / 438.6 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.2924, allocations: 155.7 kB / 438.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.2929, allocations: 302.9 kB / 439 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.2933, allocations: 334.5 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.2934, allocations: 60 kB / 439.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.2936, allocations: 68 kB / 439.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.2938, allocations: 147.5 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.2941, allocations: 330.3 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008815/0.295, allocations: 0.7246 MB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.295, allocations: 0 / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.295, allocations: 0 / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.295, allocations: 0 / 440.7 MB, free: 13.95 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.001576/0.2966, allocations: 0.8632 MB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.2966, allocations: 12.03 kB / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.494e-05/0.2967, allocations: 21.48 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.2968, allocations: 119.8 kB / 441.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.2972, allocations: 112.4 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.2978, allocations: 348.3 kB / 442.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.2979, allocations: 45.69 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.298, allocations: 56.12 kB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009841/0.299, allocations: 0.5966 MB / 442.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.299, allocations: 7.953 kB / 442.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.299, allocations: 28 kB / 442.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.2991, allocations: 15.98 kB / 442.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.3, allocations: 0.4891 MB / 443.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.3033, allocations: 2.117 MB / 445.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.3043, allocations: 0.5979 MB / 446.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.305, allocations: 412.1 kB / 446.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.3051, allocations: 8.656 kB / 446.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.3051, allocations: 55.14 kB / 446.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.234e-06/0.3051, allocations: 0 / 446.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.007919/0.313, allocations: 3.209 MB / 449.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.3131, allocations: 64.41 kB / 449.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.3135, allocations: 377.6 kB / 450.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.3136, allocations: 41.7 kB / 450.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3138, allocations: 237.7 kB / 450.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.3141, allocations: 364.8 kB / 450.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.3144, allocations: 142.7 kB / 450.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.3146, allocations: 370.7 kB / 451.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.3152, allocations: 297.9 kB / 451.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.3158, allocations: 368.5 kB / 452 MB, free: 2.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.317, allocations: 0.6578 MB / 452.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.317, allocations: 0 / 452.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002127/0.3191, allocations: 1.123 MB / 453.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3191, allocations: 7.984 kB / 453.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3191, allocations: 4 kB / 453.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3203, allocations: 429.6 kB / 454.2 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.3208, allocations: 99.88 kB / 454.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.3332, allocations: 12.33 MB / 466.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.3337, allocations: 23.98 kB / 466.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.3337, allocations: 24 kB / 466.6 MB, free: 2.82 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.0003524/0.3341, allocations: 210 kB / 466.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3342, allocations: 71.58 kB / 466.9 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.3344, allocations: 86.86 kB / 467 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.3344, allocations: 15.98 kB / 467 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/0.3344, allocations: 4 kB / 467 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.3344, allocations: 7.969 kB / 467 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/0.338, allocations: 2.095 MB / 469.1 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.338, allocations: 3.938 kB / 469.1 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.3384, allocations: 91.88 kB / 469.2 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.3397, allocations: 496.1 kB / 469.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.3398, allocations: 16 kB / 469.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/0.3514, allocations: 10.38 MB / 480.1 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3514, allocations: 0 / 480.1 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.3546, allocations: 1.718 MB / 481.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.3549, allocations: 127.6 kB / 481.9 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.355, allocations: 16 kB / 482 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.3554, allocations: 23.98 kB / 482 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.3557, allocations: 96.75 kB / 482.1 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.3557, allocations: 28 kB / 482.1 MB, free: 2.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003391/0.3561, allocations: 267.1 kB / 482.4 MB, free: 2.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3561, allocations: 0 / 482.4 MB, free: 2.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00131/0.3574, allocations: 260 kB / 482.6 MB, free: 2.145 MB / 382.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.003392/0.3608, allocations: 2.292 MB / 484.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.3636, allocations: 1.753 MB / 486.7 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3636, allocations: 192 / 486.7 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.3654, allocations: 1.285 MB / 487.9 MB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.366, allocations: 107.9 kB / 488.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.3764, allocations: 6.712 MB / 494.8 MB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/0.3771, allocations: 0.9514 MB / 495.7 MB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.3774, allocations: 97.61 kB / 495.8 MB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.3777, allocations: 215.4 kB / 496 MB, free: 4.391 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3777, allocations: 0 / 496 MB, free: 4.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06231/0.44, allocations: 19.9 MB / 0.5038 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.45, allocations: 4.062 kB / 0.5038 GB, free: 0.6758 MB / 414.1 MB " [Timeout remaining time 645] (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: 17.16512778395554] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 14.637656498001888 14.663700865000001 14.363667561 Calling exit ...