Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.001295/0.001295, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.001416/0.001416, allocations: 163.1 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 158.6 MB / 186.5 MB, free: 6.379 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.09e-05, allocations: 6.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00881/0.008831, allocations: 7.021 MB / 306 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.02317, allocations: 9.519 MB / 315.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.02461, allocations: 83.12 kB / 315.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.027, allocations: 0.7611 MB / 316.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.0311, allocations: 1.267 MB / 317.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.0333, allocations: 0.7145 MB / 318.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004668/0.03797, allocations: 2.737 MB / 321.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.03851, allocations: 222.2 kB / 321.3 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.03974, allocations: 0.7831 MB / 322.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.04042, allocations: 434.4 kB / 322.5 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.04055, allocations: 71.92 kB / 322.6 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.04247, allocations: 0.6713 MB / 323.2 MB, free: 312 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.04271, allocations: 226.6 kB / 323.4 MB, free: 84 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1443/0.1871, allocations: 429.1 kB / 323.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.1899, allocations: 2.164 MB / 326 MB, free: 17.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1899, allocations: 0 / 326 MB, free: 17.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1899, allocations: 2.562 kB / 326 MB, free: 17.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.989e-05/0.1899, allocations: 0 / 326 MB, free: 17.97 MB / 302.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.003522/0.1935, allocations: 2.187 MB / 328.2 MB, free: 16.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1935, allocations: 13.3 kB / 328.2 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.1939, allocations: 232.5 kB / 328.5 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.1959, allocations: 1.217 MB / 329.7 MB, free: 16.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.196, allocations: 40.7 kB / 329.7 MB, free: 16.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.1961, allocations: 59.89 kB / 329.8 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.1977, allocations: 0.7272 MB / 330.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1977, allocations: 4.562 kB / 330.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.1978, allocations: 20.47 kB / 330.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.1978, allocations: 18.97 kB / 330.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.1994, allocations: 0.569 MB / 331.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.2035, allocations: 2.227 MB / 333.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.2048, allocations: 0.5736 MB / 333.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008572/0.2057, allocations: 486.1 kB / 334.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006759/0.2124, allocations: 2.916 MB / 337.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007652/0.2132, allocations: 392.4 kB / 337.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 3.156e-06/0.2132, allocations: 1.188 kB / 337.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.00648/0.2197, allocations: 1.981 MB / 339.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.2197, allocations: 91.53 kB / 339.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.222, allocations: 1.439 MB / 341.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.999e-05/0.222, allocations: 36.83 kB / 341.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.2225, allocations: 0.7985 MB / 342 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2227, allocations: 233.4 kB / 342.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.2228, allocations: 136.8 kB / 342.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.2229, allocations: 336.1 kB / 342.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.2234, allocations: 256.3 kB / 343 MB, free: 11.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.224, allocations: 479.9 kB / 343.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.2252, allocations: 0.7382 MB / 344.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2252, allocations: 3.562 kB / 344.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001876/0.227, allocations: 1.119 MB / 345.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2271, allocations: 10.34 kB / 345.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.121e-05/0.2272, allocations: 74.47 kB / 345.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.2283, allocations: 0.6939 MB / 346.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.2287, allocations: 115.9 kB / 346.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2297, allocations: 1.118 MB / 347.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/0.2306, allocations: 99.72 kB / 347.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.2307, allocations: 33.09 kB / 347.4 MB, free: 8.965 MB / 302.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.0004532/0.2311, allocations: 289.4 kB / 347.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.2313, allocations: 210.8 kB / 347.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.2332, allocations: 1.056 MB / 349 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.2332, allocations: 7.812 kB / 349 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2332, allocations: 0 / 349 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2332, allocations: 7.984 kB / 349 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/0.2342, allocations: 0.8022 MB / 349.8 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-05/0.2343, allocations: 69.39 kB / 349.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.2346, allocations: 54.41 kB / 349.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009312/0.2356, allocations: 0.6595 MB / 350.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.2356, allocations: 20.86 kB / 350.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009402/0.2366, allocations: 1.088 MB / 351.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2366, allocations: 0 / 351.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.2387, allocations: 1.333 MB / 353 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.2391, allocations: 207.7 kB / 353.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.2392, allocations: 12 kB / 353.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.2397, allocations: 35.95 kB / 353.3 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.2398, allocations: 48.42 kB / 353.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.2399, allocations: 28.86 kB / 353.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000861/0.2407, allocations: 0.9449 MB / 354.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2407, allocations: 0 / 354.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008643/0.2416, allocations: 431 kB / 354.7 MB, free: 3.223 MB / 302.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.0007196/0.2423, allocations: 0.5077 MB / 355.2 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.244, allocations: 0.8159 MB / 356 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.244, allocations: 0 / 356 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.245, allocations: 0.4919 MB / 356.5 MB, free: 1.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.2458, allocations: 191.3 kB / 356.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.2506, allocations: 2.948 MB / 359.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/0.2512, allocations: 0.6454 MB / 360.3 MB, free: 13.63 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004409/0.2517, allocations: 162.1 kB / 360.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.2518, allocations: 72.5 kB / 360.5 MB, free: 13.4 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2518, allocations: 0 / 360.5 MB, free: 13.4 MB / 318.1 MB Notification: Performance of Templates: time 0.03026/0.2821, allocations: 14.65 MB / 375.2 MB, free: 14.78 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.931806843727827] 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.2910611405968666 0.305609364 0.11257692500000001 Calling exit ...