Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 112 kB / 20.43 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 189.2 kB / 23.72 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 370.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2399, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01041/0.2504, allocations: 8.363 MB / 431.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.2664, allocations: 11.35 MB / 442.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.2678, allocations: 87.12 kB / 442.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.2703, allocations: 0.8522 MB / 443.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.2747, allocations: 1.252 MB / 445 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.2773, allocations: 0.7073 MB / 445.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005169/0.2824, allocations: 2.699 MB / 448.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.283, allocations: 230.2 kB / 448.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009471/0.2839, allocations: 0.5794 MB / 449.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009711/0.2849, allocations: 0.6211 MB / 449.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.2851, allocations: 68 kB / 449.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.2872, allocations: 0.7766 MB / 450.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.2875, allocations: 222.6 kB / 450.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.2886, allocations: 0.7686 MB / 451.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.2919, allocations: 2.127 MB / 453.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2919, allocations: 4 kB / 453.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2919, allocations: 0 / 453.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.904e-05/0.292, allocations: 0 / 453.8 MB, free: 15.82 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004241/0.2962, allocations: 2.213 MB / 456 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2963, allocations: 8.031 kB / 456 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.2966, allocations: 231.5 kB / 456.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.2986, allocations: 1.219 MB / 457.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.2987, allocations: 49.25 kB / 457.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.2988, allocations: 55.95 kB / 457.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.3002, allocations: 0.6938 MB / 458.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3002, allocations: 0 / 458.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.3003, allocations: 24 kB / 458.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.3003, allocations: 23.98 kB / 458.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.3018, allocations: 0.5634 MB / 458.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.3057, allocations: 2.467 MB / 461.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.3071, allocations: 0.5838 MB / 461.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009725/0.308, allocations: 482.2 kB / 462.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007543/0.3156, allocations: 2.984 MB / 465.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009515/0.3165, allocations: 382.5 kB / 465.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 3.276e-06/0.3165, allocations: 0 / 465.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.006414/0.3229, allocations: 1.981 MB / 467.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.323, allocations: 93.48 kB / 467.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.3251, allocations: 1.435 MB / 469.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.3252, allocations: 37.7 kB / 469.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007588/0.3259, allocations: 0.8139 MB / 470.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.3261, allocations: 230 kB / 470.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.3264, allocations: 138.6 kB / 470.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3265, allocations: 337.9 kB / 470.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.3272, allocations: 249.9 kB / 471.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000843/0.328, allocations: 458.1 kB / 471.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.3296, allocations: 0.7286 MB / 472.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3296, allocations: 4 kB / 472.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002424/0.332, allocations: 1.117 MB / 473.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.332, allocations: 8 kB / 473.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/0.3322, allocations: 76.72 kB / 473.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.3336, allocations: 0.703 MB / 474.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.3341, allocations: 111.8 kB / 474.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.3355, allocations: 1.128 MB / 475.4 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.3363, allocations: 95.47 kB / 475.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.3363, allocations: 32 kB / 475.5 MB, free: 9.516 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005237/0.3369, allocations: 289.7 kB / 475.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.3372, allocations: 210.7 kB / 476 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.3397, allocations: 1.062 MB / 477.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.3397, allocations: 4 kB / 477.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3397, allocations: 7.938 kB / 477.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3397, allocations: 0 / 477.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.3411, allocations: 0.9438 MB / 478 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001041/0.3412, allocations: 68 kB / 478.1 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.3416, allocations: 51.94 kB / 478.1 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.3428, allocations: 0.6827 MB / 478.8 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.3428, allocations: 19.98 kB / 478.8 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.3443, allocations: 1.096 MB / 479.9 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3443, allocations: 4 kB / 479.9 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.3473, allocations: 1.326 MB / 481.3 MB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.3478, allocations: 222.5 kB / 481.5 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.348, allocations: 11.94 kB / 481.5 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.3486, allocations: 35.95 kB / 481.5 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.3487, allocations: 56.3 kB / 481.6 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.3488, allocations: 23.98 kB / 481.6 MB, free: 3.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001473/0.3503, allocations: 0.9488 MB / 482.6 MB, free: 2.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3503, allocations: 0 / 482.6 MB, free: 2.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001024/0.3513, allocations: 435 kB / 483 MB, free: 1.902 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009327/0.3522, allocations: 471.5 kB / 483.4 MB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.3547, allocations: 0.8196 MB / 484.3 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3547, allocations: 0 / 484.3 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.3562, allocations: 494 kB / 484.7 MB, free: 104 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.3573, allocations: 210.2 kB / 484.9 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/0.3636, allocations: 3.08 MB / 488 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.3647, allocations: 1.216 MB / 489.2 MB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005252/0.3652, allocations: 158.1 kB / 489.4 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.3654, allocations: 75.42 kB / 489.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3654, allocations: 0 / 489.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of Templates: time 0.03608/0.4015, allocations: 16.88 MB / 0.4945 GB, free: 10.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.9051530081778765] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe', 'Q2.vbc', 'Q2.vbe', 'VCC.T0', 'VCC.counter', 'VCC.counter2', 'VEE.T0', 'VEE.counter', 'VEE.counter2'] 0.41081989649683237 0.42547124000000003 0.13024818600000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f52b37017b0>