Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.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.001272/0.001272, allocations: 107 kB / 19.8 MB, free: 2.5 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.001397/0.001397, allocations: 215.7 kB / 23 MB, free: 5.574 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.424/1.424, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor") translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.88 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2371, allocations: 53.32 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.0146/0.2517, allocations: 14.24 MB / 444 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02535/0.277, allocations: 20.42 MB / 464.4 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.2791, allocations: 126.9 kB / 464.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.2821, allocations: 1.133 MB / 465.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006579/0.2887, allocations: 2.326 MB / 468 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.2927, allocations: 1.452 MB / 469.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009385/0.302, allocations: 6.523 MB / 476 MB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004987/0.3025, allocations: 248.5 kB / 476.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.304, allocations: 1.1 MB / 477.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.3052, allocations: 1.083 MB / 478.4 MB, free: 6.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.3054, allocations: 76 kB / 478.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.3093, allocations: 1.483 MB / 480 MB, free: 5.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.3096, allocations: 317.7 kB / 480.3 MB, free: 4.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.311, allocations: 1.324 MB / 481.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004725/0.3157, allocations: 3.706 MB / 485.3 MB, free: 15.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3157, allocations: 0 / 485.3 MB, free: 15.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3157, allocations: 0 / 485.3 MB, free: 15.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.881e-05/0.3157, allocations: 0 / 485.3 MB, free: 15.74 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.005213/0.3209, allocations: 3.689 MB / 489 MB, free: 11.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.321, allocations: 12.03 kB / 489 MB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/0.3214, allocations: 393.5 kB / 489.4 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.325, allocations: 2.559 MB / 492 MB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.325, allocations: 40.98 kB / 492 MB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3251, allocations: 48 kB / 492.1 MB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3267, allocations: 0.7537 MB / 492.8 MB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3267, allocations: 0 / 492.8 MB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.3268, allocations: 24 kB / 492.8 MB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.3268, allocations: 23.92 kB / 492.9 MB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.3286, allocations: 0.8514 MB / 493.7 MB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004837/0.3335, allocations: 2.974 MB / 496.7 MB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3352, allocations: 0.7246 MB / 497.4 MB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.3367, allocations: 0.8628 MB / 498.3 MB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03367/0.3703, allocations: 30.69 MB / 0.5166 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.3716, allocations: 0.5957 MB / 0.5172 GB, free: 15.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 2.846e-06/0.3716, allocations: 0 / 0.5172 GB, free: 15.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01197/0.3835, allocations: 5.27 MB / 0.5223 GB, free: 9.488 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3836, allocations: 68.41 kB / 0.5224 GB, free: 9.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003269/0.3869, allocations: 2.696 MB / 0.525 GB, free: 6.699 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.3869, allocations: 41.7 kB / 0.525 GB, free: 6.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.3881, allocations: 1.308 MB / 0.5263 GB, free: 5.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.3884, allocations: 352.9 kB / 0.5266 GB, free: 4.992 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.3888, allocations: 242.4 kB / 0.5269 GB, free: 4.746 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.389, allocations: 341.9 kB / 0.5272 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.3902, allocations: 478 kB / 0.5277 GB, free: 3.938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.3916, allocations: 0.647 MB / 0.5283 GB, free: 3.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002562/0.3942, allocations: 1.133 MB / 0.5294 GB, free: 2.035 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3942, allocations: 0 / 0.5294 GB, free: 2.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003935/0.3981, allocations: 1.982 MB / 0.5313 GB, free: 15.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.3981, allocations: 15.88 kB / 0.5314 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/0.3983, allocations: 112 kB / 0.5315 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000696/0.399, allocations: 264.6 kB / 0.5317 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.3999, allocations: 199.6 kB / 0.5319 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1985/0.5984, allocations: 14.25 MB / 0.5458 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.6, allocations: 91.73 kB / 0.5459 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.6001, allocations: 56.28 kB / 0.546 GB, free: 118.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 (v.counter,$PRE.v.counter,vin2.counter,$PRE.vin2.counter,vin1.counter,$PRE.vin1.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008263/0.601, allocations: 434.3 kB / 0.5464 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005435/0.6015, allocations: 386.6 kB / 0.5467 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004582/0.6061, allocations: 2.204 MB / 0.5489 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.6061, allocations: 11.8 kB / 0.5489 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.6061, allocations: 5.078 kB / 0.5489 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.6061, allocations: 3.562 kB / 0.5489 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.6077, allocations: 1.539 MB / 0.5504 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001165/0.6078, allocations: 116.4 kB / 0.5505 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/0.6085, allocations: 137.6 kB / 0.5507 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005764/0.6091, allocations: 262.9 kB / 0.5509 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/0.6092, allocations: 44.58 kB / 0.551 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005902/0.6151, allocations: 14.25 MB / 0.5649 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6151, allocations: 1.531 kB / 0.5649 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/0.6196, allocations: 2.56 MB / 0.5674 GB, free: 103 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006946/0.6203, allocations: 0.5067 MB / 0.5679 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.6206, allocations: 19.55 kB / 0.5679 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/0.6215, allocations: 78.36 kB / 0.568 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.6218, allocations: 136.3 kB / 0.5681 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.275e-05/0.6219, allocations: 53.5 kB / 0.5681 GB, free: 102.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001886/0.6238, allocations: 1.771 MB / 0.5699 GB, free: 101.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6238, allocations: 0 / 0.5699 GB, free: 101.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001244/0.625, allocations: 0.6558 MB / 0.5705 GB, free: 101.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.626, allocations: 0.8187 MB / 0.5713 GB, free: 101.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003297/0.6293, allocations: 2.457 MB / 0.5737 GB, free: 100 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6293, allocations: 0 / 0.5737 GB, free: 100 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.6312, allocations: 1.9 MB / 0.5756 GB, free: 98.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.6333, allocations: 0.6297 MB / 0.5762 GB, free: 97.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.6382, allocations: 4.767 MB / 0.5808 GB, free: 92.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.6389, allocations: 1.658 MB / 0.5825 GB, free: 91.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008786/0.6397, allocations: 391.3 kB / 0.5828 GB, free: 90.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.64, allocations: 171.4 kB / 0.583 GB, free: 90.74 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.64, allocations: 0 / 0.583 GB, free: 90.74 MB / 462.1 MB Notification: Performance of Templates: time 0.04834/0.6883, allocations: 37.9 MB / 0.62 GB, free: 52.95 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.028370749205351]