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.007931/0.007931, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.002036/0.002036, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.36/1.36, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",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.001688/0.001688, allocations: 53.34 kB / 348 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2562, allocations: 49.16 MB / 397.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004209/0.2604, allocations: 4.221 MB / 401.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.262, allocations: 0.9695 MB / 402.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.2623, allocations: 11.69 kB / 402.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.2625, allocations: 94.56 kB / 402.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.2629, allocations: 201.1 kB / 402.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.2632, allocations: 158.6 kB / 402.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006093/0.2638, allocations: 0.736 MB / 403.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.2641, allocations: 161.7 kB / 403.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.2644, allocations: 293.9 kB / 404 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.2648, allocations: 328.1 kB / 404.3 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.118e-05/0.2648, allocations: 60.62 kB / 404.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-05/0.2649, allocations: 60.69 kB / 404.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.2651, allocations: 147.3 kB / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.2653, allocations: 335.3 kB / 404.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006002/0.2659, allocations: 0.7151 MB / 405.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2659, allocations: 4 kB / 405.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2659, allocations: 1.125 kB / 405.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2659, allocations: 0.6562 kB / 405.6 MB, free: 3.609 MB / 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.001306/0.2672, allocations: 0.8571 MB / 406.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2673, allocations: 12.98 kB / 406.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.939e-05/0.2673, allocations: 18.23 kB / 406.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.2674, allocations: 115.9 kB / 406.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/0.2675, allocations: 85.83 kB / 406.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.268, allocations: 345 kB / 407 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.268, allocations: 45.28 kB / 407.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.2681, allocations: 63.08 kB / 407.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.269, allocations: 0.6001 MB / 407.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.269, allocations: 2.703 kB / 407.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.269, allocations: 25.53 kB / 407.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.269, allocations: 13.53 kB / 407.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.2699, allocations: 492.6 kB / 408.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.2726, allocations: 2.123 MB / 410.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.2734, allocations: 0.5927 MB / 411 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.274, allocations: 411.2 kB / 411.4 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.274, allocations: 8.844 kB / 411.4 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2741, allocations: 38.45 kB / 411.4 MB, free: 276 kB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.354e-06/0.2741, allocations: 0 / 411.4 MB, free: 276 kB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.007391/0.2814, allocations: 3.225 MB / 414.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.2815, allocations: 63.47 kB / 414.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.2819, allocations: 362.9 kB / 415.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.282, allocations: 40.83 kB / 415.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.2822, allocations: 237.8 kB / 415.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.2825, allocations: 366.6 kB / 415.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.2827, allocations: 141.6 kB / 415.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2829, allocations: 376.8 kB / 416.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.2834, allocations: 292.8 kB / 416.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/0.284, allocations: 365.4 kB / 416.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.2851, allocations: 0.6685 MB / 417.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2851, allocations: 1.562 kB / 417.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002067/0.2872, allocations: 1.123 MB / 418.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2872, allocations: 5.188 kB / 418.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2872, allocations: 0 / 418.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.2884, allocations: 434.2 kB / 419.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.2888, allocations: 96.61 kB / 419.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.3007, allocations: 12.34 MB / 431.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.3012, allocations: 23.98 kB / 431.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.3013, allocations: 24 kB / 431.6 MB, free: 15.77 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 (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.0003429/0.3016, allocations: 205.8 kB / 431.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3017, allocations: 63.62 kB / 431.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.302, allocations: 90.78 kB / 431.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.302, allocations: 12 kB / 431.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/0.302, allocations: 4 kB / 431.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.302, allocations: 11.91 kB / 431.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.3055, allocations: 2.091 MB / 434 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.3055, allocations: 3.938 kB / 434 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.3059, allocations: 87.88 kB / 434.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.3072, allocations: 488.4 kB / 434.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.3073, allocations: 27.88 kB / 434.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.3191, allocations: 10.37 MB / 445 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3191, allocations: 4.031 kB / 445 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/0.3224, allocations: 1.714 MB / 446.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.3228, allocations: 123.5 kB / 446.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.3228, allocations: 24 kB / 446.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.3232, allocations: 23.98 kB / 446.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.3235, allocations: 96.75 kB / 447 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.3235, allocations: 20 kB / 447 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003121/0.3238, allocations: 267.2 kB / 447.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3238, allocations: 0 / 447.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00127/0.3251, allocations: 260 kB / 447.5 MB, free: 15.12 MB / 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.003377/0.3285, allocations: 2.277 MB / 449.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.3312, allocations: 1.757 MB / 451.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3313, allocations: 4 kB / 451.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.3332, allocations: 1.274 MB / 452.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.3339, allocations: 105.9 kB / 452.9 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3444, allocations: 6.679 MB / 459.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.345, allocations: 0.9475 MB / 460.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.3453, allocations: 93.47 kB / 460.6 MB, free: 1.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.3455, allocations: 219.4 kB / 460.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3455, allocations: 0 / 460.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08066/0.4262, allocations: 19.82 MB / 480.7 MB, free: 13.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14, allocations: 15.97 kB / 480.7 MB, free: 13.5 MB / 398.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 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: 16.45248800999252] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 14.17425561696291 14.189327417 13.920298648 Calling exit ...