Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007919/0.0007919, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007639/0.0007639, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8448/0.8448, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.112e-05, allocations: 6.219 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00516/0.005182, allocations: 7.162 MB / 331.7 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008532/0.01371, allocations: 9.857 MB / 341.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.01481, allocations: 87.06 kB / 341.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.01625, allocations: 0.7729 MB / 342.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.01897, allocations: 1.295 MB / 343.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.02028, allocations: 0.7147 MB / 344.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.0229, allocations: 2.811 MB / 347.3 MB, free: 9.098 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.02324, allocations: 218.2 kB / 347.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.02395, allocations: 0.8104 MB / 348.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.02432, allocations: 454.3 kB / 348.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.0244, allocations: 68 kB / 348.8 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.02541, allocations: 0.7063 MB / 349.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.02553, allocations: 218.6 kB / 349.7 MB, free: 6.617 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.02583, allocations: 442.6 kB / 350.2 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.02765, allocations: 2.176 MB / 352.3 MB, free: 4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.02766, allocations: 0 / 352.3 MB, free: 4 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02766, allocations: 0 / 352.3 MB, free: 4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.363e-05/0.02769, allocations: 4 kB / 352.3 MB, free: 3.996 MB / 314.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.002076/0.02977, allocations: 2.2 MB / 354.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.02981, allocations: 12.03 kB / 354.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.02989, allocations: 98.69 kB / 354.7 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.03016, allocations: 243.5 kB / 354.9 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.03136, allocations: 1.218 MB / 356.1 MB, free: 100 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.03138, allocations: 41.69 kB / 356.1 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.03146, allocations: 60.39 kB / 356.2 MB, free: 16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/0.03226, allocations: 0.7189 MB / 356.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.03227, allocations: 0 / 356.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.03231, allocations: 20 kB / 356.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.03233, allocations: 27.92 kB / 357 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.03307, allocations: 0.5673 MB / 357.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.03533, allocations: 2.333 MB / 359.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.03602, allocations: 0.5681 MB / 360.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.03652, allocations: 494 kB / 360.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003318/0.03984, allocations: 2.653 MB / 363.6 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.04034, allocations: 406.9 kB / 364 MB, free: 8.035 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 2.185e-06/0.04034, allocations: 0 / 364 MB, free: 8.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.003813/0.04415, allocations: 2.309 MB / 366.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.0442, allocations: 93.53 kB / 366.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.04528, allocations: 1.43 MB / 367.8 MB, free: 4.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.04532, allocations: 37.7 kB / 367.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.04576, allocations: 0.7908 MB / 368.6 MB, free: 3.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.04589, allocations: 261.7 kB / 368.9 MB, free: 3.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.04602, allocations: 138.6 kB / 369 MB, free: 2.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.0461, allocations: 341.9 kB / 369.4 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.04646, allocations: 257.8 kB / 369.6 MB, free: 2.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.04689, allocations: 467.8 kB / 370.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.04877, allocations: 1.549 MB / 371.6 MB, free: 152 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.04877, allocations: 4 kB / 371.6 MB, free: 148 kB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001216/0.04999, allocations: 1.138 MB / 372.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.05001, allocations: 8 kB / 372.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-05/0.05007, allocations: 80.03 kB / 372.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.05066, allocations: 0.591 MB / 373.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.05095, allocations: 135.8 kB / 373.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008985/0.05185, allocations: 1.549 MB / 375.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.05218, allocations: 83.48 kB / 375.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.05223, allocations: 36 kB / 375.2 MB, free: 12.46 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) type: Real Q2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,12), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003638/0.05259, allocations: 301.7 kB / 375.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.05271, allocations: 214.6 kB / 375.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.05403, allocations: 1.122 MB / 376.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.05404, allocations: 8 kB / 376.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.05404, allocations: 0 / 376.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.05405, allocations: 3.984 kB / 376.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.05473, allocations: 0.9043 MB / 377.8 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.672e-05/0.05479, allocations: 76 kB / 377.8 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.05497, allocations: 63.94 kB / 377.9 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006497/0.05562, allocations: 0.6482 MB / 378.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.05565, allocations: 19.98 kB / 378.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007963/0.05645, allocations: 1.131 MB / 379.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.05645, allocations: 0 / 379.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.05796, allocations: 1.413 MB / 381.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.0582, allocations: 222.5 kB / 381.3 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.05828, allocations: 19.92 kB / 381.4 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.05851, allocations: 31.97 kB / 381.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.0586, allocations: 60.34 kB / 381.4 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.05863, allocations: 24 kB / 381.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007587/0.05939, allocations: 0.9406 MB / 382.4 MB, free: 5.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05939, allocations: 0 / 382.4 MB, free: 5.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000619/0.06001, allocations: 439 kB / 382.8 MB, free: 4.703 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * 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 {(3,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002374/0.06238, allocations: 2.368 MB / 385.2 MB, free: 2.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.06357, allocations: 0.8188 MB / 386 MB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.06358, allocations: 3.938 kB / 386 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006421/0.06422, allocations: 0.5038 MB / 386.5 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.06489, allocations: 219.1 kB / 386.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.07658, allocations: 10.58 MB / 397.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.07697, allocations: 0.6419 MB / 398 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003327/0.0773, allocations: 162.1 kB / 398.1 MB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.07776, allocations: 0.6526 MB / 398.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.07776, allocations: 0 / 398.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.1231, allocations: 32.99 MB / 431.8 MB, free: 3.645 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.998/9.121, allocations: 0 / 431.8 MB, free: 3.645 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.702591626904905] 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.228051007725298 9.238179797 9.208839418 Calling exit ...