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.001265/0.001265, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00581/0.00581, allocations: 164.6 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.8676/0.8676, allocations: 158.6 MB / 186.5 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.558e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.1314/0.1314, allocations: 7.026 MB / 305.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008386/0.1398, allocations: 9.511 MB / 315 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009507/0.1407, allocations: 82.97 kB / 315.1 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.1422, allocations: 0.7639 MB / 315.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.145, allocations: 1.281 MB / 317.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.1468, allocations: 0.6967 MB / 317.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003143/0.1499, allocations: 2.737 MB / 320.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.1503, allocations: 222.4 kB / 320.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.1514, allocations: 0.7869 MB / 321.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005202/0.1519, allocations: 432.9 kB / 322 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.152, allocations: 67.53 kB / 322 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.1535, allocations: 0.6764 MB / 322.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.1536, allocations: 222.1 kB / 322.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003672/0.154, allocations: 439.1 kB / 323.4 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.1558, allocations: 2.158 MB / 325.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1558, allocations: 1.188 kB / 325.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1558, allocations: 0 / 325.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.1558, allocations: 4 kB / 325.5 MB, free: 0.7852 MB / 282.7 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.002343/0.1582, allocations: 2.191 MB / 327.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1582, allocations: 12.95 kB / 327.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.326e-05/0.1583, allocations: 102.9 kB / 327.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.1588, allocations: 230.3 kB / 328 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.1603, allocations: 1.223 MB / 329.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.1603, allocations: 43.03 kB / 329.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/0.1604, allocations: 56.09 kB / 329.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009178/0.1613, allocations: 0.722 MB / 330.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1613, allocations: 3.031 kB / 330.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.1614, allocations: 18.97 kB / 330.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.1614, allocations: 23.27 kB / 330.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/0.1622, allocations: 0.5661 MB / 330.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.1649, allocations: 2.331 MB / 333 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.1657, allocations: 0.5668 MB / 333.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.1663, allocations: 491.4 kB / 334.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004111/0.1704, allocations: 2.922 MB / 337 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007641/0.1711, allocations: 391 kB / 337.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.164e-06/0.1711, allocations: 0 / 337.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.003352/0.1745, allocations: 1.962 MB / 339.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.1745, allocations: 93.53 kB / 339.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.1756, allocations: 1.443 MB / 340.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.1757, allocations: 37.7 kB / 340.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.1761, allocations: 0.814 MB / 341.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1763, allocations: 234 kB / 342 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.1764, allocations: 142.6 kB / 342.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.1765, allocations: 334 kB / 342.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.1768, allocations: 253.8 kB / 342.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.1773, allocations: 487.8 kB / 343.1 MB, free: 1.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/0.1781, allocations: 0.7326 MB / 343.9 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1781, allocations: 0 / 343.9 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001459/0.1795, allocations: 1.109 MB / 345 MB, free: 15.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1795, allocations: 8.719 kB / 345 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.601e-05/0.1796, allocations: 76.61 kB / 345.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007688/0.1804, allocations: 0.7001 MB / 345.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.1806, allocations: 111.8 kB / 345.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008985/0.1815, allocations: 1.117 MB / 347 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.182, allocations: 99.03 kB / 347.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.182, allocations: 32 kB / 347.1 MB, free: 13.34 MB / 314.7 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.0003317/0.1823, allocations: 289.7 kB / 347.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.1825, allocations: 214.7 kB / 347.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.1838, allocations: 1.063 MB / 348.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1838, allocations: 4 kB / 348.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1838, allocations: 7.938 kB / 348.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1838, allocations: 3.984 kB / 348.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.1847, allocations: 0.8773 MB / 349.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.967e-05/0.1847, allocations: 71.98 kB / 349.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.1849, allocations: 51.95 kB / 349.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007145/0.1856, allocations: 0.6518 MB / 350.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.1857, allocations: 23.98 kB / 350.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1868, allocations: 1.098 MB / 351.5 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1868, allocations: 0 / 351.5 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.1887, allocations: 1.327 MB / 352.8 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.1891, allocations: 214.6 kB / 353 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.1892, allocations: 12 kB / 353 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.1894, allocations: 40.77 kB / 353.1 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1895, allocations: 48.42 kB / 353.1 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.1896, allocations: 27.92 kB / 353.1 MB, free: 7.211 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009157/0.1905, allocations: 0.9488 MB / 354.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1905, allocations: 0 / 354.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007452/0.1912, allocations: 435 kB / 354.5 MB, free: 5.816 MB / 314.7 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.002748/0.194, allocations: 2.281 MB / 356.8 MB, free: 3.492 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.1953, allocations: 0.8132 MB / 357.6 MB, free: 2.672 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1953, allocations: 128 / 357.6 MB, free: 2.672 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.1959, allocations: 490.2 kB / 358.1 MB, free: 2.184 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.1966, allocations: 195.8 kB / 358.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.2098, allocations: 10.62 MB / 368.9 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.2102, allocations: 0.6338 MB / 369.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003393/0.2106, allocations: 162.1 kB / 369.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/0.211, allocations: 0.6292 MB / 370.3 MB, free: 5.578 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2111, allocations: 0 / 370.3 MB, free: 5.578 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05317/0.2642, allocations: 32.44 MB / 402.7 MB, free: 5.035 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.01/9.274, allocations: 4 kB / 402.7 MB, free: 5.031 MB / 362.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.901872633956373] 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'] 9.384450170211494 9.394250305 9.236439215 Calling exit ...