Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001796/0.001796, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001832/0.001832, allocations: 217.1 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.77 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+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: 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_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_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2137, allocations: 53.37 MB / 432.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005364/0.2191, allocations: 3.839 MB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2208, allocations: 0.9967 MB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.221, allocations: 15.94 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.2212, allocations: 99 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.2217, allocations: 198.3 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.222, allocations: 187.7 kB / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007734/0.2228, allocations: 0.7283 MB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.2231, allocations: 171.6 kB / 438.6 MB, free: 480 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.2235, allocations: 294.9 kB / 438.9 MB, free: 184 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.2239, allocations: 338.5 kB / 439.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.224, allocations: 60 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.2242, allocations: 64 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.2243, allocations: 147.5 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.2246, allocations: 266.7 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007815/0.2254, allocations: 0.7313 MB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2254, allocations: 4 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2254, allocations: 4 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.2254, allocations: 0 / 440.5 MB, free: 14.58 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.001583/0.227, allocations: 0.8555 MB / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.227, allocations: 8.031 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.2274, allocations: 96.48 kB / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.228, allocations: 344.3 kB / 441.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.228, allocations: 41.69 kB / 441.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.2281, allocations: 52.33 kB / 441.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/0.2291, allocations: 0.5454 MB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2291, allocations: 3.938 kB / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.2292, allocations: 20 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.2292, allocations: 12 kB / 442.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008963/0.2301, allocations: 459.6 kB / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.2329, allocations: 1.777 MB / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009276/0.2338, allocations: 0.5112 MB / 445.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/0.2344, allocations: 362 kB / 445.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.2345, allocations: 4.5 kB / 445.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.2345, allocations: 43.06 kB / 445.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.064e-06/0.2345, allocations: 0 / 445.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004509/0.239, allocations: 1.728 MB / 447.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.2391, allocations: 59.84 kB / 447.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.2394, allocations: 337.7 kB / 447.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.2395, allocations: 37.7 kB / 447.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.2396, allocations: 245.3 kB / 448 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.2398, allocations: 210.2 kB / 448.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.24, allocations: 90.3 kB / 448.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2402, allocations: 362.8 kB / 448.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.2405, allocations: 165.2 kB / 448.8 MB, free: 6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.2409, allocations: 208.8 kB / 449 MB, free: 5.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007138/0.2416, allocations: 382.1 kB / 449.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2416, allocations: 0 / 449.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001304/0.2429, allocations: 0.6602 MB / 450 MB, free: 4.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.243, allocations: 4 kB / 450 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.243, allocations: 0 / 450 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007807/0.2437, allocations: 263.1 kB / 450.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.244, allocations: 63.89 kB / 450.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007256/0.2513, allocations: 6.946 MB / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.2516, allocations: 15.98 kB / 457.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.2516, allocations: 16 kB / 457.3 MB, free: 13.02 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.0002352/0.2518, allocations: 176.3 kB / 457.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.2519, allocations: 55.64 kB / 457.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.2521, allocations: 64.8 kB / 457.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2521, allocations: 3.984 kB / 457.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2521, allocations: 7.984 kB / 457.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.2523, allocations: 71.62 kB / 457.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.2523, allocations: 15.98 kB / 457.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.2526, allocations: 16 kB / 457.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.2527, allocations: 48.39 kB / 457.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002138/0.2548, allocations: 0.8244 MB / 458.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001415/0.2563, allocations: 0.8985 MB / 459.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003733/0.2566, allocations: 183.9 kB / 459.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.2569, allocations: 239.2 kB / 459.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of Backend: time 4.51e-07/0.2569, allocations: 0 / 459.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.2586, allocations: 0.9262 MB / 460.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of SimCode: time 0.002164/0.2607, allocations: 1.828 MB / 462.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of Templates: time 0.01589/0.2766, allocations: 9.133 MB / 471.8 MB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.530109574996459] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 0.28438768300111406 0.29833084099999996 0.06999912499999994 Calling exit ...