Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00152/0.00152, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001675/0.001675, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 230.4 MB / 258.1 MB, free: 8.129 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 75.81 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2327, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005722/0.2384, allocations: 4.297 MB / 436.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.2404, allocations: 1.028 MB / 437.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.2406, allocations: 8 kB / 437.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.2408, allocations: 95 kB / 437.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.2413, allocations: 206.2 kB / 437.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.2416, allocations: 183.8 kB / 437.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008018/0.2424, allocations: 0.7322 MB / 438.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.2427, allocations: 163.1 kB / 438.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.2431, allocations: 298.8 kB / 439.1 MB, free: 360 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.2436, allocations: 330.6 kB / 439.4 MB, free: 28 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.2437, allocations: 64.05 kB / 439.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.2438, allocations: 63.94 kB / 439.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.244, allocations: 147.3 kB / 439.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.2443, allocations: 338.3 kB / 440 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007983/0.2451, allocations: 0.7118 MB / 440.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2451, allocations: 0 / 440.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2451, allocations: 3.938 kB / 440.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.2451, allocations: 0 / 440.7 MB, free: 14.71 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.001609/0.2467, allocations: 0.9308 MB / 441.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2468, allocations: 8.031 kB / 441.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.2471, allocations: 104.5 kB / 441.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.2478, allocations: 410.1 kB / 442.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.2478, allocations: 41.69 kB / 442.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/0.2479, allocations: 52.33 kB / 442.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00095/0.2489, allocations: 0.5454 MB / 442.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2489, allocations: 3.984 kB / 442.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.2489, allocations: 24 kB / 442.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.2489, allocations: 12 kB / 442.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008834/0.2498, allocations: 447.7 kB / 443.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.2527, allocations: 2.031 MB / 445.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/0.2536, allocations: 0.5868 MB / 445.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005995/0.2542, allocations: 362.2 kB / 446.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.2543, allocations: 12.55 kB / 446.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2543, allocations: 39.12 kB / 446.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.334e-06/0.2543, allocations: 0 / 446.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004596/0.2589, allocations: 2.037 MB / 448.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.259, allocations: 59.97 kB / 448.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.2594, allocations: 365.7 kB / 448.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.2594, allocations: 37.7 kB / 448.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.2596, allocations: 233.5 kB / 449 MB, free: 6.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.2598, allocations: 210.2 kB / 449.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.2599, allocations: 94.2 kB / 449.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2601, allocations: 362.8 kB / 449.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.2605, allocations: 165 kB / 449.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.2609, allocations: 211.8 kB / 450 MB, free: 4.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.2616, allocations: 384.8 kB / 450.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2616, allocations: 0 / 450.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001332/0.263, allocations: 0.6541 MB / 451.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.263, allocations: 4 kB / 451.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.263, allocations: 11.94 kB / 451.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007747/0.2638, allocations: 251.2 kB / 451.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.2641, allocations: 67.92 kB / 451.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/0.2715, allocations: 7.491 MB / 458.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.2718, allocations: 28.02 kB / 458.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.2719, allocations: 16 kB / 458.9 MB, free: 11.49 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 (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.000252/0.2721, allocations: 173.8 kB / 459.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.2722, allocations: 51.67 kB / 459.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.2723, allocations: 65.02 kB / 459.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2723, allocations: 4 kB / 459.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2723, allocations: 4 kB / 459.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.2725, allocations: 168.6 kB / 459.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.2726, allocations: 8 kB / 459.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.2729, allocations: 19.98 kB / 459.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.273, allocations: 48.91 kB / 459.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002097/0.2751, allocations: 0.8297 MB / 460.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001407/0.2765, allocations: 0.9081 MB / 461.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003699/0.2769, allocations: 188.5 kB / 461.4 MB, free: 8.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.2771, allocations: 263.2 kB / 461.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of Backend: time 5.91e-07/0.2771, allocations: 0 / 461.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.2789, allocations: 0.936 MB / 462.6 MB, free: 7.723 MB / 366.1 MB Notification: Performance of SimCode: time 0.002258/0.2812, allocations: 1.818 MB / 464.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of Templates: time 0.01604/0.2972, allocations: 8.901 MB / 473.3 MB, free: 13.03 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.457962768152356] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 0.3052799399010837 0.31940050799999997 0.071264323 Calling exit ...