Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.001772/0.001772, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.002087/0.002087, allocations: 219.9 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.422/1.422, allocations: 230.4 MB / 258.1 MB, free: 8.121 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.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [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.001946/0.001946, allocations: 67.77 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2223, allocations: 53.31 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00661/0.2289, allocations: 5.12 MB / 437.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.2418, allocations: 10.85 MB / 448 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.2425, allocations: 31.75 kB / 448 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.2442, allocations: 0.6997 MB / 448.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002852/0.2471, allocations: 1.022 MB / 449.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.2486, allocations: 0.6076 MB / 450.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.2508, allocations: 1.385 MB / 451.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.251, allocations: 117.2 kB / 451.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.2514, allocations: 294.6 kB / 452.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.2518, allocations: 317.9 kB / 452.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.2519, allocations: 32 kB / 452.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.2534, allocations: 0.7492 MB / 453.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.2535, allocations: 107.3 kB / 453.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.2539, allocations: 405.4 kB / 453.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.2555, allocations: 1.272 MB / 455 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2555, allocations: 4 kB / 455 MB, free: 264 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2556, allocations: 0 / 455 MB, free: 264 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.2556, allocations: 0 / 455 MB, free: 264 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002203/0.2578, allocations: 1.357 MB / 456.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2578, allocations: 8.031 kB / 456.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.258, allocations: 120.2 kB / 456.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.2591, allocations: 0.7559 MB / 457.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.2592, allocations: 24.5 kB / 457.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.2592, allocations: 31.94 kB / 457.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.2599, allocations: 317.3 kB / 457.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2599, allocations: 0 / 457.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.26, allocations: 8 kB / 457.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.26, allocations: 15.98 kB / 457.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007121/0.2607, allocations: 274.2 kB / 457.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.2629, allocations: 1.369 MB / 459.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.2636, allocations: 274.5 kB / 459.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.264, allocations: 217.7 kB / 459.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003768/0.2678, allocations: 2.809 MB / 462.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.2683, allocations: 207.3 kB / 462.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.2683, allocations: 0 / 462.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.00157/0.2698, allocations: 0.6315 MB / 463.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2699, allocations: 59.41 kB / 463.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.2709, allocations: 0.8073 MB / 464.3 MB, free: 6.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.2709, allocations: 33.7 kB / 464.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.2713, allocations: 444.9 kB / 464.8 MB, free: 5.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.2714, allocations: 111.1 kB / 464.9 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.2715, allocations: 73.97 kB / 464.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2717, allocations: 325.9 kB / 465.3 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.272, allocations: 120.7 kB / 465.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.2724, allocations: 210.6 kB / 465.6 MB, free: 4.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.274, allocations: 0.7117 MB / 466.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.274, allocations: 0 / 466.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001011/0.275, allocations: 0.5178 MB / 466.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2751, allocations: 4.375 kB / 466.8 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-05/0.2751, allocations: 44 kB / 466.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.2752, allocations: 28.84 kB / 466.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.2756, allocations: 83.88 kB / 467 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.2769, allocations: 1.449 MB / 468.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.2772, allocations: 43.7 kB / 468.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.2772, allocations: 20.14 kB / 468.5 MB, free: 1.898 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003166/0.2776, allocations: 214.7 kB / 468.7 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2777, allocations: 111.3 kB / 468.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.2788, allocations: 488.2 kB / 469.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2788, allocations: 3.984 kB / 469.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.164e-05/0.2788, allocations: 32 kB / 469.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.2791, allocations: 192.3 kB / 469.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.2792, allocations: 7.938 kB / 469.5 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.2794, allocations: 23.97 kB / 469.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.2795, allocations: 31.97 kB / 469.6 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001209/0.2807, allocations: 474.1 kB / 470 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001288/0.282, allocations: 0.73 MB / 470.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003243/0.2824, allocations: 131.9 kB / 470.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006754/0.283, allocations: 0.5426 MB / 471.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of Backend: time 2.71e-07/0.283, allocations: 0 / 471.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.2849, allocations: 0.8117 MB / 472.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 0.002662/0.2875, allocations: 2.009 MB / 474.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01925/0.3068, allocations: 10.4 MB / 484.6 MB, free: 1.605 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.4446010501123965] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.3149330411106348 0.328717447 0.070148421 Calling exit ...