Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.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.001816/0.001816, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002207/0.002207, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.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_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_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 43.92 kB / 379 MB, free: 2.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2044, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.014/0.2184, allocations: 11.98 MB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02265/0.241, allocations: 17.57 MB / 461.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.2421, allocations: 197.8 kB / 462.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.2443, allocations: 1.026 MB / 463.1 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.2493, allocations: 2.331 MB / 465.4 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.2523, allocations: 1.414 MB / 466.8 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008653/0.261, allocations: 6.54 MB / 473.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/0.2615, allocations: 253 kB / 473.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.2628, allocations: 1.143 MB / 474.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.264, allocations: 1.087 MB / 475.9 MB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.2642, allocations: 76 kB / 475.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.2668, allocations: 1.233 MB / 477.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.2671, allocations: 329.7 kB / 477.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009594/0.2681, allocations: 0.9818 MB / 478.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.2722, allocations: 3.741 MB / 482.2 MB, free: 4.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2722, allocations: 0 / 482.2 MB, free: 4.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2722, allocations: 0 / 482.2 MB, free: 4.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.2722, allocations: 0 / 482.2 MB, free: 4.625 MB / 382.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.00544/0.2777, allocations: 3.602 MB / 485.8 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2777, allocations: 8.031 kB / 485.8 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004487/0.2782, allocations: 397.5 kB / 486.2 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/0.2821, allocations: 2.382 MB / 488.6 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.2822, allocations: 36.94 kB / 488.6 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.2823, allocations: 48 kB / 488.7 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.2839, allocations: 0.7616 MB / 489.4 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2839, allocations: 0 / 489.4 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.284, allocations: 19.98 kB / 489.5 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.284, allocations: 23.98 kB / 489.5 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.2859, allocations: 0.8514 MB / 490.3 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/0.2908, allocations: 2.678 MB / 493 MB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.2926, allocations: 0.7169 MB / 493.7 MB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.2941, allocations: 0.8722 MB / 494.6 MB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02762/0.3217, allocations: 13.69 MB / 0.4964 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.3229, allocations: 0.5879 MB / 0.4969 GB, free: 9.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.015e-06/0.3229, allocations: 0 / 0.4969 GB, free: 9.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.0121/0.335, allocations: 4.521 MB / 0.5014 GB, free: 4.766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3351, allocations: 64.39 kB / 0.5014 GB, free: 4.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.3384, allocations: 2.696 MB / 0.5041 GB, free: 1.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.978e-05/0.3385, allocations: 45.7 kB / 0.5041 GB, free: 1.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.3397, allocations: 1.308 MB / 0.5054 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.3401, allocations: 356.9 kB / 0.5057 GB, free: 268 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003767/0.3404, allocations: 238.5 kB / 0.5059 GB, free: 24 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3406, allocations: 345.9 kB / 0.5063 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.3419, allocations: 470 kB / 0.5067 GB, free: 15.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.3434, allocations: 0.6547 MB / 0.5074 GB, free: 14.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/0.3462, allocations: 1.137 MB / 0.5085 GB, free: 13.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3462, allocations: 0 / 0.5085 GB, free: 13.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004051/0.3503, allocations: 1.835 MB / 0.5103 GB, free: 11.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3503, allocations: 8 kB / 0.5103 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001746/0.3505, allocations: 123.9 kB / 0.5104 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007412/0.3512, allocations: 264.5 kB / 0.5106 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009374/0.3521, allocations: 195.7 kB / 0.5108 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.3626, allocations: 12.98 MB / 0.5235 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.3638, allocations: 92.08 kB / 0.5236 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.3639, allocations: 56 kB / 0.5236 GB, free: 12.68 MB / 446.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.0007159/0.3646, allocations: 430.2 kB / 0.5241 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004145/0.365, allocations: 385.6 kB / 0.5244 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/0.37, allocations: 2.048 MB / 0.5264 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.37, allocations: 3.984 kB / 0.5264 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001685/0.3702, allocations: 120 kB / 0.5265 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000943/0.3711, allocations: 439.3 kB / 0.527 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/0.3715, allocations: 20 kB / 0.527 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.3725, allocations: 79.89 kB / 0.5271 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.3728, allocations: 148.7 kB / 0.5272 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004612/0.3774, allocations: 1.572 MB / 0.5287 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004743/0.3821, allocations: 2.279 MB / 0.531 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001301/0.3834, allocations: 491.5 kB / 0.5314 GB, free: 4.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002351/0.3858, allocations: 1.774 MB / 0.5332 GB, free: 2.801 MB / 446.1 MB Notification: Performance of Backend: time 3.91e-07/0.3858, allocations: 0 / 0.5332 GB, free: 2.801 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1686/0.5544, allocations: 2.88 MB / 0.536 GB, free: 105.8 MB / 446.1 MB Notification: Performance of SimCode: time 0.007139/0.5616, allocations: 5.952 MB / 0.5418 GB, free: 103.2 MB / 446.1 MB Notification: Performance of Templates: time 0.05309/0.6147, allocations: 46.4 MB / 0.5871 GB, free: 62.49 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.926026569002715] 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.6222456399991643 0.630953439 0.35654527699999994 Calling exit ...