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.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.001863/0.001863, allocations: 115 kB / 18.45 MB, free: 4.625 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.002152/0.002152, allocations: 193.2 kB / 21.4 MB, free: 1.688 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.45/1.45, allocations: 207.6 MB / 231.8 MB, free: 4.203 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.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: "" <> 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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 59.91 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08826/0.08997, allocations: 49.11 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009224/0.0992, allocations: 8.198 MB / 399.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.1129, allocations: 11 MB / 410.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.1142, allocations: 59.5 kB / 410.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.1164, allocations: 0.825 MB / 411.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.1202, allocations: 1.223 MB / 412.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.1222, allocations: 0.6895 MB / 413.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004151/0.1263, allocations: 2.662 MB / 416 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004443/0.1268, allocations: 229.7 kB / 416.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007337/0.1275, allocations: 0.5364 MB / 416.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007323/0.1283, allocations: 0.6172 MB / 417.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.1284, allocations: 68 kB / 417.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.13, allocations: 0.7104 MB / 418.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.1302, allocations: 218.7 kB / 418.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007807/0.131, allocations: 0.7686 MB / 419.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.134, allocations: 2.131 MB / 421.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.134, allocations: 0 / 421.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.134, allocations: 0 / 421.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.648e-05/0.134, allocations: 0 / 421.3 MB, free: 10.68 MB / 350.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.003776/0.1378, allocations: 2.284 MB / 423.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.1378, allocations: 12.03 kB / 423.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.138, allocations: 94.7 kB / 423.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.1383, allocations: 235.5 kB / 423.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.1404, allocations: 1.318 MB / 425.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.1404, allocations: 41.31 kB / 425.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.1405, allocations: 56 kB / 425.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.1418, allocations: 0.6899 MB / 426 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1418, allocations: 4 kB / 426 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.1419, allocations: 23.98 kB / 426 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.1419, allocations: 16 kB / 426.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.1432, allocations: 0.5712 MB / 426.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.147, allocations: 2.515 MB / 429.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.1482, allocations: 0.5724 MB / 429.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000863/0.149, allocations: 491.5 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009582/0.1586, allocations: 7.496 MB / 437.7 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000802/0.1594, allocations: 385.9 kB / 438.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.705e-06/0.1594, allocations: 0 / 438.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005732/0.1651, allocations: 2.064 MB / 440.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.1652, allocations: 85.55 kB / 440.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.1671, allocations: 1.435 MB / 441.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.162e-05/0.1671, allocations: 37.69 kB / 441.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007066/0.1678, allocations: 0.8063 MB / 442.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.1681, allocations: 234 kB / 442.7 MB, free: 3.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.1683, allocations: 142.6 kB / 442.9 MB, free: 3.539 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1684, allocations: 341.9 kB / 443.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.169, allocations: 249.9 kB / 443.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/0.1698, allocations: 458.2 kB / 443.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.1711, allocations: 0.7286 MB / 444.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1711, allocations: 0 / 444.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002091/0.1732, allocations: 1.114 MB / 445.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1732, allocations: 11.91 kB / 445.7 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.1733, allocations: 79.97 kB / 445.8 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.1746, allocations: 0.6991 MB / 446.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.175, allocations: 115.7 kB / 446.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.1765, allocations: 1.128 MB / 447.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.1772, allocations: 83.5 kB / 447.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/0.1773, allocations: 43.98 kB / 447.9 MB, free: 14.31 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.0004995/0.1778, allocations: 293.6 kB / 448.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.178, allocations: 210.7 kB / 448.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.1803, allocations: 1.064 MB / 449.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.1803, allocations: 4 kB / 449.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1803, allocations: 0 / 449.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1803, allocations: 3.984 kB / 449.5 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.1816, allocations: 0.9834 MB / 450.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/0.1817, allocations: 64 kB / 450.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.1821, allocations: 63.94 kB / 450.6 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.1832, allocations: 0.6711 MB / 451.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.1833, allocations: 19.94 kB / 451.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.1846, allocations: 1.092 MB / 452.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1846, allocations: 4 kB / 452.4 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.1872, allocations: 1.321 MB / 453.7 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/0.1877, allocations: 295.7 kB / 454 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.1879, allocations: 15.94 kB / 454 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.1883, allocations: 39.94 kB / 454 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.1885, allocations: 48.38 kB / 454.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.1885, allocations: 27.94 kB / 454.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.1899, allocations: 0.9449 MB / 455 MB, free: 6.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1899, allocations: 4 kB / 455 MB, free: 6.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001055/0.191, allocations: 434.9 kB / 455.5 MB, free: 6.562 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.00377/0.1947, allocations: 2.251 MB / 457.7 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.1968, allocations: 0.8114 MB / 458.5 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1968, allocations: 0 / 458.5 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.198, allocations: 493.8 kB / 459 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.1988, allocations: 187 kB / 459.2 MB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1895/0.3883, allocations: 10.71 MB / 469.9 MB, free: 64.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/0.389, allocations: 1.219 MB / 471.1 MB, free: 63.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005134/0.3895, allocations: 158.7 kB / 471.3 MB, free: 63.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.3901, allocations: 0.6248 MB / 471.9 MB, free: 63.34 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3901, allocations: 0 / 471.9 MB, free: 63.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06284/0.4529, allocations: 32.66 MB / 0.4927 GB, free: 37.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/15.84, allocations: 4 kB / 0.4927 GB, free: 37.1 MB / 382.1 MB " [Timeout remaining time 644] (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: 18.335381862707436] 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'] 15.948258441872895 15.962842163 15.82563766 Calling exit ...