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.001336/0.001336, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001462/0.001462, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.46/1.46, allocations: 207.6 MB / 232.5 MB, free: 3.891 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 56.34 kB / 343 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09636/0.09812, allocations: 49.14 MB / 392.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009626/0.1077, allocations: 8.191 MB / 400.3 MB, free: 464 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.1222, allocations: 11 MB / 411.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.1237, allocations: 91.06 kB / 411.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.126, allocations: 0.8289 MB / 412.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0048/0.1308, allocations: 1.211 MB / 413.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.1333, allocations: 0.6973 MB / 414.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004677/0.138, allocations: 2.662 MB / 416.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004611/0.1385, allocations: 237.7 kB / 417 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009105/0.1394, allocations: 0.5521 MB / 417.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007469/0.1401, allocations: 0.6211 MB / 418.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.1402, allocations: 64 kB / 418.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.1421, allocations: 0.7104 MB / 419 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.1424, allocations: 218.6 kB / 419.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007678/0.1431, allocations: 0.7686 MB / 420 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.1461, allocations: 2.119 MB / 422.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1461, allocations: 4 kB / 422.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1461, allocations: 3.938 kB / 422.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.1461, allocations: 0 / 422.1 MB, free: 10.55 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.003635/0.1497, allocations: 2.284 MB / 424.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1498, allocations: 11.97 kB / 424.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.985e-05/0.1498, allocations: 21.5 kB / 424.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.1499, allocations: 102.7 kB / 424.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.1502, allocations: 227.5 kB / 424.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.1521, allocations: 1.317 MB / 426.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.1522, allocations: 45.3 kB / 426.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1523, allocations: 56 kB / 426.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.1537, allocations: 0.69 MB / 426.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1537, allocations: 0 / 426.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.1537, allocations: 20 kB / 426.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.1538, allocations: 20 kB / 426.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.1552, allocations: 0.5712 MB / 427.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.1591, allocations: 2.519 MB / 430 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.1604, allocations: 0.5646 MB / 430.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000947/0.1613, allocations: 487.5 kB / 431 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009565/0.1709, allocations: 7.504 MB / 438.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008643/0.1718, allocations: 389.8 kB / 438.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.464e-06/0.1718, allocations: 0 / 438.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.00594/0.1777, allocations: 2.064 MB / 441 MB, free: 6.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.1778, allocations: 85.55 kB / 441.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.1796, allocations: 1.435 MB / 442.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.1797, allocations: 37.7 kB / 442.5 MB, free: 4.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/0.1804, allocations: 0.8024 MB / 443.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.1807, allocations: 238 kB / 443.6 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.1809, allocations: 142.6 kB / 443.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1811, allocations: 337.9 kB / 444 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.1817, allocations: 257.8 kB / 444.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.1825, allocations: 454.2 kB / 444.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.1839, allocations: 0.7363 MB / 445.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/0.1839, allocations: 0 / 445.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002221/0.1861, allocations: 1.11 MB / 446.6 MB, free: 356 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.1862, allocations: 11.91 kB / 446.6 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/0.1863, allocations: 75.98 kB / 446.7 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.1877, allocations: 0.6992 MB / 447.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.1882, allocations: 115.8 kB / 447.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.1897, allocations: 1.128 MB / 448.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/0.1904, allocations: 91.48 kB / 448.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.1904, allocations: 36 kB / 448.7 MB, free: 14.17 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.0005234/0.191, allocations: 293.6 kB / 449 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.1912, allocations: 210.7 kB / 449.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.1935, allocations: 1.06 MB / 450.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.1935, allocations: 4 kB / 450.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1935, allocations: 0 / 450.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1935, allocations: 0 / 450.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.1947, allocations: 0.9835 MB / 451.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.19e-05/0.1948, allocations: 67.98 kB / 451.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.1952, allocations: 59.89 kB / 451.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.1963, allocations: 0.6711 MB / 452.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.1964, allocations: 20.11 kB / 452.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.1977, allocations: 1.096 MB / 453.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1977, allocations: 0 / 453.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.2005, allocations: 1.332 MB / 454.5 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.2009, allocations: 291.6 kB / 454.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.201, allocations: 15.98 kB / 454.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.2015, allocations: 31.97 kB / 454.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.2016, allocations: 48.38 kB / 454.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.2017, allocations: 31.98 kB / 454.9 MB, free: 7.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001324/0.203, allocations: 0.9449 MB / 455.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.203, allocations: 3.938 kB / 455.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009898/0.204, allocations: 431 kB / 456.3 MB, free: 6.418 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.003814/0.2078, allocations: 2.247 MB / 458.5 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.21, allocations: 0.811 MB / 459.3 MB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.21, allocations: 0 / 459.3 MB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.2111, allocations: 498.2 kB / 459.8 MB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.2119, allocations: 187 kB / 460 MB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1974/0.4094, allocations: 10.7 MB / 470.7 MB, free: 63.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.4102, allocations: 1.219 MB / 471.9 MB, free: 63.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004958/0.4107, allocations: 162.1 kB / 472.1 MB, free: 63.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/0.4112, allocations: 0.6248 MB / 472.7 MB, free: 62.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4112, allocations: 0 / 472.7 MB, free: 62.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05665/0.4679, allocations: 32.7 MB / 0.4936 GB, free: 36.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/15.68, allocations: 15.95 kB / 0.4936 GB, free: 36.29 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.16074921702966] 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.86518885701662 15.879358738 15.730104892 Calling exit ...