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.001907/0.001907, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002178/0.002178, allocations: 202.7 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001403/0.001403, allocations: 43.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2372, allocations: 53.38 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008327/0.2456, allocations: 7.146 MB / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.2587, allocations: 9.853 MB / 448.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.2599, allocations: 83.12 kB / 448.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.2619, allocations: 0.7708 MB / 449 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.2653, allocations: 1.252 MB / 450.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.2671, allocations: 0.7031 MB / 450.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003932/0.271, allocations: 2.727 MB / 453.6 MB, free: 4 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.2714, allocations: 238.2 kB / 453.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.2721, allocations: 0.5832 MB / 454.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000743/0.2728, allocations: 0.6211 MB / 455.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.273, allocations: 68 kB / 455.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.2744, allocations: 0.7493 MB / 455.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.2746, allocations: 218.7 kB / 456.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000573/0.2751, allocations: 0.5744 MB / 456.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.2774, allocations: 2.162 MB / 458.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2774, allocations: 0 / 458.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2774, allocations: 0 / 458.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.2774, allocations: 0 / 458.8 MB, free: 10.76 MB / 366.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.003345/0.2808, allocations: 2.221 MB / 461.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2808, allocations: 12.03 kB / 461.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.2809, allocations: 98.69 kB / 461.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.2813, allocations: 243.5 kB / 461.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.2833, allocations: 1.223 MB / 462.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.2833, allocations: 41.31 kB / 462.7 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2834, allocations: 56 kB / 462.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.2847, allocations: 0.7229 MB / 463.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2848, allocations: 0 / 463.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.2848, allocations: 23.98 kB / 463.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.2848, allocations: 20 kB / 463.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.2861, allocations: 0.575 MB / 464.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.2896, allocations: 2.323 MB / 466.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.2908, allocations: 0.5643 MB / 466.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008548/0.2917, allocations: 494.1 kB / 467.4 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005967/0.2976, allocations: 2.664 MB / 470.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008487/0.2985, allocations: 403 kB / 470.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.735e-06/0.2985, allocations: 0 / 470.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006817/0.3053, allocations: 2.313 MB / 472.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.3054, allocations: 89.59 kB / 472.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.3072, allocations: 1.434 MB / 474.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.3073, allocations: 37.7 kB / 474.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/0.308, allocations: 0.7869 MB / 475.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.3082, allocations: 261.8 kB / 475.4 MB, free: 9.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.3084, allocations: 146.6 kB / 475.5 MB, free: 9.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3086, allocations: 345.9 kB / 475.9 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006482/0.3092, allocations: 261.8 kB / 476.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.31, allocations: 463.7 kB / 476.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003364/0.3134, allocations: 1.552 MB / 478.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3134, allocations: 0 / 478.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002222/0.3156, allocations: 1.134 MB / 479.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3156, allocations: 8 kB / 479.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.3157, allocations: 80 kB / 479.4 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.3168, allocations: 0.599 MB / 480 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.3174, allocations: 131.8 kB / 480.1 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.3189, allocations: 1.529 MB / 481.6 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/0.3195, allocations: 91.55 kB / 481.7 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.3196, allocations: 36 kB / 481.7 MB, free: 3.215 MB / 382.1 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.0005292/0.3201, allocations: 301.6 kB / 482 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.3204, allocations: 210.7 kB / 482.2 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.3227, allocations: 1.122 MB / 483.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3227, allocations: 8 kB / 483.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3227, allocations: 0 / 483.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3227, allocations: 0 / 483.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.3238, allocations: 0.912 MB / 484.3 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001059/0.3239, allocations: 72 kB / 484.4 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.3243, allocations: 71.8 kB / 484.4 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.3255, allocations: 0.6396 MB / 485.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.3255, allocations: 27.98 kB / 485.1 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.3269, allocations: 1.138 MB / 486.2 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3269, allocations: 0 / 486.2 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.3296, allocations: 1.417 MB / 487.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/0.33, allocations: 206.6 kB / 487.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.3302, allocations: 19.92 kB / 487.9 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.3307, allocations: 31.97 kB / 487.9 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.3308, allocations: 52.41 kB / 488 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.3309, allocations: 28.11 kB / 488 MB, free: 12.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.332, allocations: 0.9406 MB / 488.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.332, allocations: 4 kB / 488.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009535/0.333, allocations: 442.9 kB / 489.4 MB, free: 11.45 MB / 398.1 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.003648/0.3366, allocations: 2.348 MB / 491.7 MB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3386, allocations: 0.8227 MB / 492.5 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3386, allocations: 0 / 492.5 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.3397, allocations: 0.5038 MB / 493 MB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/0.3407, allocations: 223 kB / 493.3 MB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.3564, allocations: 10.7 MB / 0.4921 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/0.357, allocations: 0.6419 MB / 0.4928 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004577/0.3574, allocations: 166.1 kB / 0.4929 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007289/0.3582, allocations: 0.6516 MB / 0.4936 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3582, allocations: 3.938 kB / 0.4936 GB, free: 10.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0718/0.43, allocations: 33.04 MB / 0.5258 GB, free: 10.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.42, allocations: 3.375 kB / 0.5258 GB, free: 10.23 MB / 446.1 MB " [Timeout remaining time 645] (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: 16.985198856011266] 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'] 14.559376245975727 14.802002404 14.521470258999999 Calling exit ...