Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001259/0.001259, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.001333/0.001333, allocations: 207 kB / 24.48 MB, free: 4.035 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.404/1.404, allocations: 230.4 MB / 258.1 MB, free: 8.168 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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor") [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.001939/0.001939, allocations: 71.83 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2183, allocations: 53.31 MB / 432 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01431/0.2326, allocations: 14.25 MB / 446.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02359/0.2562, allocations: 20.42 MB / 466.7 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.2575, allocations: 118.9 kB / 466.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.2598, allocations: 1.13 MB / 468 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005483/0.2653, allocations: 2.342 MB / 470.3 MB, free: 1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.2688, allocations: 1.46 MB / 471.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008848/0.2777, allocations: 6.523 MB / 478.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.2781, allocations: 248.5 kB / 478.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.2798, allocations: 1.097 MB / 479.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.2813, allocations: 1.083 MB / 480.7 MB, free: 6.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.2815, allocations: 76 kB / 480.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/0.285, allocations: 1.483 MB / 482.3 MB, free: 4.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.2853, allocations: 325.7 kB / 482.6 MB, free: 4.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.2865, allocations: 1.324 MB / 483.9 MB, free: 3.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004393/0.2909, allocations: 3.702 MB / 487.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2909, allocations: 0 / 487.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2909, allocations: 0 / 487.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.2909, allocations: 0 / 487.6 MB, free: 15.59 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.005722/0.2966, allocations: 3.693 MB / 491.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.2967, allocations: 8.031 kB / 491.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005196/0.2972, allocations: 397.5 kB / 491.7 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.3011, allocations: 2.551 MB / 494.2 MB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.3011, allocations: 37 kB / 494.3 MB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.3012, allocations: 51.98 kB / 494.3 MB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3028, allocations: 0.7538 MB / 495.1 MB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3028, allocations: 0 / 495.1 MB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/0.3029, allocations: 20 kB / 495.1 MB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.3029, allocations: 23.98 kB / 495.1 MB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.3048, allocations: 0.8514 MB / 496 MB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005107/0.3099, allocations: 2.982 MB / 499 MB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.3117, allocations: 0.7245 MB / 499.7 MB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.3132, allocations: 0.8633 MB / 0.4888 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0345/0.3477, allocations: 30.69 MB / 0.5188 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.349, allocations: 0.5918 MB / 0.5194 GB, free: 14.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 2.775e-06/0.349, allocations: 0 / 0.5194 GB, free: 14.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01253/0.3615, allocations: 5.274 MB / 0.5245 GB, free: 9.336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3615, allocations: 64.39 kB / 0.5246 GB, free: 9.262 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.3648, allocations: 2.696 MB / 0.5272 GB, free: 6.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.583e-05/0.3649, allocations: 41.7 kB / 0.5273 GB, free: 6.504 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.3661, allocations: 1.312 MB / 0.5285 GB, free: 5.188 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.3664, allocations: 349 kB / 0.5289 GB, free: 4.844 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.3668, allocations: 238.4 kB / 0.5291 GB, free: 4.605 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.367, allocations: 345.9 kB / 0.5294 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.3683, allocations: 478 kB / 0.5299 GB, free: 3.797 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.3697, allocations: 0.6508 MB / 0.5305 GB, free: 3.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.3725, allocations: 1.13 MB / 0.5316 GB, free: 1.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.3725, allocations: 0 / 0.5316 GB, free: 1.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00411/0.3766, allocations: 1.985 MB / 0.5336 GB, free: 15.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3766, allocations: 11.94 kB / 0.5336 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/0.3768, allocations: 120 kB / 0.5337 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/0.3775, allocations: 272.9 kB / 0.5339 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009139/0.3784, allocations: 187.7 kB / 0.5341 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1837/0.5621, allocations: 14.25 MB / 0.548 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.5635, allocations: 92.83 kB / 0.5481 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.5636, allocations: 55.45 kB / 0.5482 GB, free: 118.5 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.0007463/0.5644, allocations: 429.6 kB / 0.5486 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.5648, allocations: 388.7 kB / 0.549 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.5692, allocations: 2.205 MB / 0.5511 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5692, allocations: 8.75 kB / 0.5511 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001523/0.5694, allocations: 115.5 kB / 0.5512 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007972/0.5702, allocations: 0.5036 MB / 0.5517 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/0.5705, allocations: 18.38 kB / 0.5517 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/0.5715, allocations: 83.89 kB / 0.5518 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.5717, allocations: 141 kB / 0.552 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004111/0.5758, allocations: 1.588 MB / 0.5535 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004324/0.5802, allocations: 2.273 MB / 0.5557 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001147/0.5813, allocations: 491 kB / 0.5562 GB, free: 116.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0017/0.583, allocations: 1.768 MB / 0.5579 GB, free: 116.3 MB / 462.1 MB Notification: Performance of Backend: time 5.11e-07/0.583, allocations: 0 / 0.5579 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004078/0.5871, allocations: 2.89 MB / 0.5607 GB, free: 114.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.005805/0.5929, allocations: 5.965 MB / 0.5666 GB, free: 111 MB / 462.1 MB Notification: Performance of Templates: time 0.05274/0.6456, allocations: 40.72 MB / 0.6063 GB, free: 70.65 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.162755297962576] Failed to read output from testmodel.py, exit status != 0: ['time', 'mn1.Dinternal', 'mn1.Sinternal', 'mn2.Dinternal', 'mn2.Sinternal', 'mp1.Dinternal', 'mp1.Sinternal', 'mp2.Dinternal', 'mp2.Sinternal'] 0.6528782350942492 0.6611640369999999 0.36809509199999996 Calling exit ...