Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.0007968/0.0007968, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008152/0.0008152, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8856/0.8856, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.732e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008295/0.008323, allocations: 7.137 MB / 325.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008595/0.01692, allocations: 9.818 MB / 335.4 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.0182, allocations: 91.06 kB / 335.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.01989, allocations: 0.7729 MB / 336.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.02361, allocations: 1.295 MB / 337.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.02542, allocations: 0.7146 MB / 338.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003501/0.02892, allocations: 2.776 MB / 341 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.0293, allocations: 222.2 kB / 341.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008933/0.03019, allocations: 0.8065 MB / 342.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.0306, allocations: 446.3 kB / 342.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.968e-05/0.03068, allocations: 68 kB / 342.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.03192, allocations: 0.7024 MB / 343.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.03206, allocations: 214.7 kB / 343.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.03242, allocations: 442.6 kB / 343.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.03418, allocations: 2.164 MB / 346.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.03418, allocations: 4 kB / 346.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.03418, allocations: 0 / 346.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.03421, allocations: 4 kB / 346.1 MB, free: 10.55 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.002103/0.03631, allocations: 2.189 MB / 348.3 MB, free: 8.324 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.03635, allocations: 16.91 kB / 348.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.353e-05/0.03644, allocations: 98.7 kB / 348.4 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.03662, allocations: 235.5 kB / 348.6 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.03784, allocations: 1.218 MB / 349.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.03786, allocations: 41.69 kB / 349.9 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/0.03793, allocations: 64.08 kB / 349.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008074/0.03874, allocations: 0.7151 MB / 350.7 MB, free: 5.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.03875, allocations: 0 / 350.7 MB, free: 5.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.03879, allocations: 20 kB / 350.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.0388, allocations: 23.98 kB / 350.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.03954, allocations: 0.5634 MB / 351.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.04175, allocations: 2.322 MB / 353.6 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.04244, allocations: 0.576 MB / 354.2 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/0.04294, allocations: 490.1 kB / 354.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003915/0.04686, allocations: 2.906 MB / 357.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004877/0.04735, allocations: 390.9 kB / 357.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.004e-06/0.04735, allocations: 3.938 kB / 357.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=67): time 0.003286/0.05063, allocations: 1.974 MB / 359.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.05069, allocations: 89.61 kB / 360 MB, free: 12.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.05181, allocations: 1.446 MB / 361.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.05184, allocations: 37.64 kB / 361.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.05227, allocations: 0.8063 MB / 362.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.05239, allocations: 238 kB / 362.5 MB, free: 9.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.05253, allocations: 138.6 kB / 362.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.05262, allocations: 334 kB / 363 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.05296, allocations: 249.8 kB / 363.2 MB, free: 9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.05339, allocations: 483.9 kB / 363.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007932/0.05418, allocations: 0.7364 MB / 364.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.05418, allocations: 8 kB / 364.4 MB, free: 7.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001177/0.05536, allocations: 1.109 MB / 365.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.05538, allocations: 8.125 kB / 365.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.267e-05/0.05544, allocations: 79.98 kB / 365.6 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.05618, allocations: 0.6924 MB / 366.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.05643, allocations: 111.8 kB / 366.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008773/0.05731, allocations: 1.129 MB / 367.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.05764, allocations: 95.41 kB / 367.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.05768, allocations: 36 kB / 367.7 MB, free: 4.316 MB / 330.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.0003018/0.05798, allocations: 281.7 kB / 368 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.05811, allocations: 206.7 kB / 368.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.05938, allocations: 1.07 MB / 369.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.05938, allocations: 8 kB / 369.2 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.05939, allocations: 0 / 369.2 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.05939, allocations: 3.984 kB / 369.2 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006846/0.06008, allocations: 0.8735 MB / 370.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.191e-05/0.06013, allocations: 71.98 kB / 370.2 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.0603, allocations: 59.89 kB / 370.2 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006401/0.06094, allocations: 0.6554 MB / 370.9 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.06097, allocations: 19.98 kB / 370.9 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007827/0.06175, allocations: 1.092 MB / 372 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.06176, allocations: 4 kB / 372 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.06322, allocations: 1.339 MB / 373.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.06346, allocations: 210.5 kB / 373.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.324e-05/0.06354, allocations: 12 kB / 373.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.06377, allocations: 31.95 kB / 373.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.06386, allocations: 56.36 kB / 373.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.06389, allocations: 23.98 kB / 373.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007535/0.06465, allocations: 0.9527 MB / 374.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06465, allocations: 0 / 374.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006019/0.06525, allocations: 435 kB / 375.1 MB, free: 12.79 MB / 346.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.002261/0.06751, allocations: 2.277 MB / 377.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.06867, allocations: 0.8201 MB / 378.2 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.06867, allocations: 0 / 378.2 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.06928, allocations: 490.1 kB / 378.6 MB, free: 9.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.06991, allocations: 211.1 kB / 378.8 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.08139, allocations: 10.61 MB / 389.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.08178, allocations: 0.6377 MB / 390.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003203/0.0821, allocations: 158.1 kB / 390.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.08253, allocations: 0.6253 MB / 390.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.654e-06/0.08254, allocations: 0 / 390.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04735/0.1299, allocations: 32.46 MB / 423.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.096/9.226, allocations: 8.062 kB / 423.3 MB, free: 12.36 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.903093356639147] 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.34024519007653 9.34913491 9.31271937 Calling exit ...