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.001529/0.001529, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002155/0.002155, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.347/1.347, allocations: 207.7 MB / 235.3 MB, free: 9.777 MB / 190.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="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.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.002014/0.002014, allocations: 50.58 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2416, allocations: 49.16 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006362/0.248, allocations: 7.015 MB / 403.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.2593, allocations: 9.527 MB / 412.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.2606, allocations: 91.47 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.2626, allocations: 0.7451 MB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.2666, allocations: 1.241 MB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.2687, allocations: 0.6894 MB / 415.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004123/0.2728, allocations: 2.665 MB / 418.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.2732, allocations: 218.7 kB / 418.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.2741, allocations: 0.5547 MB / 419.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.2748, allocations: 0.5698 MB / 419.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.2749, allocations: 67.44 kB / 419.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.2765, allocations: 0.6712 MB / 420.4 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.2767, allocations: 223.6 kB / 420.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006123/0.2773, allocations: 0.5773 MB / 421.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.2799, allocations: 2.151 MB / 423.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.2799, allocations: 3.984 kB / 423.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2799, allocations: 0 / 423.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.28, allocations: 1.094 kB / 423.3 MB, free: 7.426 MB / 334.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.003784/0.2838, allocations: 2.209 MB / 425.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2838, allocations: 13.45 kB / 425.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.2839, allocations: 102.7 kB / 425.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.2843, allocations: 230.5 kB / 425.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.2865, allocations: 1.234 MB / 427.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.2865, allocations: 37.31 kB / 427.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2866, allocations: 55.98 kB / 427.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.2881, allocations: 0.7151 MB / 427.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2881, allocations: 0 / 427.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.2881, allocations: 28 kB / 428 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.2881, allocations: 16 kB / 428 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.2895, allocations: 0.5673 MB / 428.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/0.2937, allocations: 2.339 MB / 430.9 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.295, allocations: 0.5643 MB / 431.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009192/0.296, allocations: 491.3 kB / 431.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007432/0.3034, allocations: 2.91 MB / 434.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008354/0.3042, allocations: 378.5 kB / 435.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.514e-06/0.3042, allocations: 0 / 435.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.006105/0.3103, allocations: 1.989 MB / 437.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.3104, allocations: 93.55 kB / 437.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.3124, allocations: 1.439 MB / 438.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.3124, allocations: 45.62 kB / 438.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/0.3132, allocations: 0.7985 MB / 439.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.3134, allocations: 238 kB / 439.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.3136, allocations: 142.6 kB / 439.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3138, allocations: 341.9 kB / 440.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/0.3145, allocations: 253.9 kB / 440.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008181/0.3153, allocations: 479.8 kB / 441 MB, free: 5.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.3168, allocations: 0.7325 MB / 441.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3168, allocations: 0 / 441.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00227/0.319, allocations: 1.113 MB / 442.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3191, allocations: 8 kB / 442.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.3192, allocations: 72 kB / 442.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.3205, allocations: 0.6914 MB / 443.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.3209, allocations: 115.7 kB / 443.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.3224, allocations: 1.12 MB / 444.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.3232, allocations: 91.5 kB / 444.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.3233, allocations: 35.98 kB / 445 MB, free: 1.797 MB / 350.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.0004936/0.3238, allocations: 293.7 kB / 445.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.324, allocations: 214.6 kB / 445.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.3264, allocations: 1.058 MB / 446.5 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3264, allocations: 4 kB / 446.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3264, allocations: 0 / 446.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3264, allocations: 3.984 kB / 446.5 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3276, allocations: 0.8852 MB / 447.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001125/0.3277, allocations: 68 kB / 447.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.3281, allocations: 59.88 kB / 447.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.3292, allocations: 0.6556 MB / 448.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.3293, allocations: 27.94 kB / 448.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.3307, allocations: 1.096 MB / 449.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3307, allocations: 0 / 449.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.3335, allocations: 1.322 MB / 450.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.334, allocations: 226.5 kB / 450.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.3341, allocations: 12 kB / 450.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.3346, allocations: 31.97 kB / 450.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.3348, allocations: 56.34 kB / 451 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.3348, allocations: 20 kB / 451 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001254/0.3361, allocations: 0.9488 MB / 451.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3361, allocations: 0 / 451.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009567/0.337, allocations: 434.9 kB / 452.4 MB, free: 10.26 MB / 366.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.003893/0.3409, allocations: 2.253 MB / 454.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.343, allocations: 0.8119 MB / 455.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.343, allocations: 0 / 455.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.3442, allocations: 0.4901 MB / 455.9 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008813/0.3451, allocations: 180.3 kB / 456.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.3639, allocations: 10.71 MB / 466.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/0.3647, allocations: 0.6338 MB / 467.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005858/0.3653, allocations: 162.1 kB / 467.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008932/0.3662, allocations: 0.6282 MB / 468.2 MB, free: 9.965 MB / 382.1 MB Notification: Performance of SimCode: time 1.813e-06/0.3662, allocations: 0 / 468.2 MB, free: 9.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08089/0.4471, allocations: 32.31 MB / 0.4888 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.58, allocations: 7.844 kB / 0.4888 GB, free: 9.523 MB / 414.1 MB " [Timeout remaining time 645] (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: 16.933328416198492] 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.72498181508854 14.752615662 14.467559133 Calling exit ...