Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001746/0.001746, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002344/0.002344, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 59.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 53.4 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.01016/0.3219, allocations: 5.125 MB / 437.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02216/0.344, allocations: 10.86 MB / 448.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.3452, allocations: 43.56 kB / 448.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00331/0.3485, allocations: 0.6974 MB / 449.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.3543, allocations: 1.028 MB / 450.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.3573, allocations: 0.6098 MB / 450.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003987/0.3613, allocations: 1.398 MB / 452.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.3618, allocations: 109.8 kB / 452.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.3625, allocations: 306.5 kB / 452.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.3633, allocations: 317.9 kB / 452.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.3634, allocations: 32 kB / 452.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.3666, allocations: 0.7492 MB / 453.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.3668, allocations: 103.3 kB / 453.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008086/0.3676, allocations: 417.4 kB / 454.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003267/0.3709, allocations: 1.276 MB / 455.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.3709, allocations: 4 kB / 455.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3709, allocations: 0 / 455.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.199e-05/0.3709, allocations: 0 / 455.5 MB, free: 15.6 MB / 366.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.003023/0.374, allocations: 1.278 MB / 456.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.374, allocations: 8.031 kB / 456.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.3742, allocations: 120.2 kB / 456.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.3759, allocations: 0.6762 MB / 457.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.3759, allocations: 24.59 kB / 457.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/0.376, allocations: 32 kB / 457.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.377, allocations: 318 kB / 457.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.377, allocations: 0 / 457.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.377, allocations: 8 kB / 457.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.3771, allocations: 8 kB / 457.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.378, allocations: 282.5 kB / 458.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.3811, allocations: 1.334 MB / 459.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.3821, allocations: 274.5 kB / 459.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.3828, allocations: 213.4 kB / 460 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004579/0.3873, allocations: 1.346 MB / 461.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.3878, allocations: 214.3 kB / 461.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.916e-06/0.3878, allocations: 3.938 kB / 461.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001472/0.3893, allocations: 0.5531 MB / 462.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3893, allocations: 59.41 kB / 462.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009989/0.3903, allocations: 0.8073 MB / 463 MB, free: 7.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.3904, allocations: 29.7 kB / 463 MB, free: 7.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.3908, allocations: 452.9 kB / 463.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3909, allocations: 107.1 kB / 463.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.391, allocations: 73.98 kB / 463.6 MB, free: 7.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3912, allocations: 325.9 kB / 464 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.3915, allocations: 124.6 kB / 464.1 MB, free: 6.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.3919, allocations: 214.6 kB / 464.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.3935, allocations: 0.7081 MB / 465 MB, free: 5.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3935, allocations: 8 kB / 465 MB, free: 5.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001043/0.3946, allocations: 0.5142 MB / 465.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3946, allocations: 10.5 kB / 465.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.955e-05/0.3946, allocations: 39.98 kB / 465.6 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/0.3948, allocations: 28.84 kB / 465.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.3952, allocations: 87.88 kB / 465.7 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.3964, allocations: 1.346 MB / 467 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.3968, allocations: 43.72 kB / 467.1 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.3968, allocations: 20.06 kB / 467.1 MB, free: 3.496 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.0003353/0.3971, allocations: 209.3 kB / 467.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3973, allocations: 115.3 kB / 467.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.3984, allocations: 492.3 kB / 467.9 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.3984, allocations: 4 kB / 467.9 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.3984, allocations: 0 / 467.9 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3984, allocations: 0 / 467.9 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.3991, allocations: 0.553 MB / 468.5 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.495e-05/0.3991, allocations: 36 kB / 468.5 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.3994, allocations: 59.89 kB / 468.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.349e-05/0.3995, allocations: 28.83 kB / 468.6 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.3996, allocations: 8 kB / 468.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.4007, allocations: 1.342 MB / 469.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/0.4007, allocations: 4.031 kB / 469.9 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.402, allocations: 0.6073 MB / 470.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.4022, allocations: 115.2 kB / 470.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.4023, allocations: 8 kB / 470.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.4025, allocations: 11.98 kB / 470.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.4026, allocations: 31.95 kB / 470.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.4027, allocations: 12 kB / 470.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007088/0.4034, allocations: 0.5465 MB / 471.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4034, allocations: 0 / 471.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006599/0.404, allocations: 243.4 kB / 471.5 MB, free: 14.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0006294/0.4047, allocations: 356.7 kB / 471.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.4057, allocations: 472.7 kB / 472.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4057, allocations: 3.938 kB / 472.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.4062, allocations: 317 kB / 472.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/0.4068, allocations: 120.2 kB / 472.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.41, allocations: 1.731 MB / 474.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.4106, allocations: 0.9566 MB / 475.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.4107, allocations: 47.44 kB / 475.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4107, allocations: 4 kB / 475.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02065/0.4313, allocations: 14.08 MB / 489.6 MB, free: 12.72 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.042032824130729] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.44069417705759406 0.45644291400000003 0.081881059 Calling exit ...