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.001332/0.001332, allocations: 104.9 kB / 21.96 MB, free: 5.219 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.001359/0.001359, allocations: 214 kB / 25.26 MB, free: 3.129 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.342/1.342, allocations: 207.7 MB / 236.1 MB, free: 9.789 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.001641/0.001641, allocations: 49.48 kB / 348 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.237, allocations: 49.16 MB / 397.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.0045/0.2415, allocations: 3.762 MB / 400.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.2432, allocations: 0.9356 MB / 401.8 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.2436, allocations: 8.281 kB / 401.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.2439, allocations: 95.64 kB / 402 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.2444, allocations: 200 kB / 402.1 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.2447, allocations: 160.4 kB / 402.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006174/0.2453, allocations: 0.7325 MB / 403 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.2456, allocations: 167.9 kB / 403.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.2459, allocations: 292.1 kB / 403.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.2462, allocations: 331.1 kB / 403.8 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.983e-05/0.2463, allocations: 60.41 kB / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.2464, allocations: 60.38 kB / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.2465, allocations: 143.5 kB / 404.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.2468, allocations: 283.7 kB / 404.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.2474, allocations: 0.7167 MB / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2474, allocations: 0 / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2474, allocations: 0 / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.2475, allocations: 1.062 kB / 405.1 MB, free: 4.297 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.001287/0.2487, allocations: 0.8615 MB / 405.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2488, allocations: 13.75 kB / 405.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.99e-05/0.2488, allocations: 26.55 kB / 406 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.249, allocations: 110.8 kB / 406.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.2491, allocations: 77.47 kB / 406.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.2495, allocations: 337.5 kB / 406.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.2495, allocations: 45.73 kB / 406.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.2496, allocations: 67.97 kB / 406.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.2505, allocations: 0.5963 MB / 407.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2506, allocations: 3.859 kB / 407.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.2506, allocations: 24.84 kB / 407.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.2506, allocations: 13.97 kB / 407.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.2514, allocations: 492.5 kB / 407.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.2539, allocations: 2.006 MB / 409.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008423/0.2547, allocations: 0.5909 MB / 410.3 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.2553, allocations: 405.9 kB / 410.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.2553, allocations: 7 kB / 410.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2553, allocations: 43.89 kB / 410.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.325e-06/0.2553, allocations: 4 kB / 410.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.007088/0.2624, allocations: 3.22 MB / 414 MB, free: 15.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.2625, allocations: 66.91 kB / 414 MB, free: 15.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.263, allocations: 364.6 kB / 414.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.263, allocations: 40.39 kB / 414.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.2632, allocations: 242.2 kB / 414.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.2636, allocations: 366.8 kB / 415 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.2638, allocations: 141.1 kB / 415.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.264, allocations: 377.8 kB / 415.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.2646, allocations: 295.8 kB / 415.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.2652, allocations: 366.2 kB / 416.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.2663, allocations: 0.6614 MB / 416.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2663, allocations: 0 / 416.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001992/0.2683, allocations: 1.121 MB / 418 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2684, allocations: 5.344 kB / 418 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2684, allocations: 3.984 kB / 418 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.2695, allocations: 425.5 kB / 418.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.2699, allocations: 101.3 kB / 418.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.2821, allocations: 12.25 MB / 430.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.2826, allocations: 20.03 kB / 430.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.2827, allocations: 28 kB / 430.8 MB, free: 496 kB / 334.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.0003272/0.283, allocations: 209.8 kB / 431 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2831, allocations: 71.56 kB / 431.1 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.2833, allocations: 90.78 kB / 431.2 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2833, allocations: 8 kB / 431.2 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-05/0.2833, allocations: 4 kB / 431.2 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.2833, allocations: 11.92 kB / 431.2 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/0.287, allocations: 1.986 MB / 433.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.287, allocations: 7.938 kB / 433.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.2874, allocations: 83.89 kB / 433.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.2888, allocations: 487.7 kB / 433.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.2889, allocations: 20 kB / 433.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.3007, allocations: 10.28 MB / 444 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3007, allocations: 3.938 kB / 444 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.304, allocations: 1.71 MB / 445.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.3044, allocations: 115.5 kB / 445.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.3045, allocations: 23.98 kB / 445.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.3048, allocations: 24 kB / 445.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.3051, allocations: 100.7 kB / 446 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.3051, allocations: 31.98 kB / 446 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003304/0.3055, allocations: 255.2 kB / 446.3 MB, free: 304 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3055, allocations: 0 / 446.3 MB, free: 304 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001249/0.3067, allocations: 264 kB / 446.5 MB, free: 40 kB / 350.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.003479/0.3102, allocations: 2.284 MB / 448.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002861/0.313, allocations: 1.757 MB / 450.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.313, allocations: 0 / 450.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.3149, allocations: 1.277 MB / 451.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.3155, allocations: 105.9 kB / 452 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.3262, allocations: 6.672 MB / 458.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.3267, allocations: 359.4 kB / 459 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002927/0.327, allocations: 85.53 kB / 459.1 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.3273, allocations: 219.4 kB / 459.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of SimCode: time 1.143e-06/0.3273, allocations: 0 / 459.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06296/0.3903, allocations: 19.49 MB / 478.8 MB, free: 15.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.29, allocations: 15.91 kB / 478.8 MB, free: 15.34 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.640468321973458] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 14.487183468067087 14.503627702 14.252951425 Calling exit ...