Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001919/0.001919, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002331/0.002331, allocations: 216.2 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 71.88 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2316, allocations: 53.41 MB / 431.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009239/0.2408, allocations: 7.147 MB / 438.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.2546, allocations: 9.849 MB / 448.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009675/0.2556, allocations: 87.06 kB / 448.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.2575, allocations: 0.767 MB / 449 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.2609, allocations: 1.252 MB / 450.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.2626, allocations: 0.707 MB / 451 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0039/0.2665, allocations: 2.723 MB / 453.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.2668, allocations: 226.2 kB / 453.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006893/0.2675, allocations: 0.5793 MB / 454.5 MB, free: 15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007277/0.2683, allocations: 0.5859 MB / 455.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.2684, allocations: 64 kB / 455.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.2698, allocations: 0.7142 MB / 455.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.27, allocations: 226.5 kB / 456.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.2706, allocations: 0.5784 MB / 456.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.273, allocations: 2.162 MB / 458.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.273, allocations: 0 / 458.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.273, allocations: 0 / 458.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.273, allocations: 4 kB / 458.8 MB, free: 10.66 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.003526/0.2765, allocations: 2.209 MB / 461 MB, free: 8.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2766, allocations: 11.98 kB / 461 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.2767, allocations: 106.6 kB / 461.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/0.2771, allocations: 243.5 kB / 461.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.2791, allocations: 1.219 MB / 462.6 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.2791, allocations: 49.23 kB / 462.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2793, allocations: 60 kB / 462.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.2806, allocations: 0.7151 MB / 463.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2806, allocations: 0 / 463.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.2807, allocations: 20 kB / 463.4 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.2807, allocations: 19.98 kB / 463.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2821, allocations: 0.5673 MB / 464 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.2859, allocations: 2.335 MB / 466.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.2871, allocations: 0.5755 MB / 466.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/0.288, allocations: 486.8 kB / 467.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006025/0.294, allocations: 2.661 MB / 470.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008707/0.2949, allocations: 410.9 kB / 470.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.435e-06/0.2949, allocations: 0 / 470.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.00686/0.3018, allocations: 2.309 MB / 472.8 MB, free: 12.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.3019, allocations: 93.59 kB / 472.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.3036, allocations: 1.43 MB / 474.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.3036, allocations: 41.7 kB / 474.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007967/0.3044, allocations: 0.7869 MB / 475.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.3047, allocations: 265.7 kB / 475.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.3049, allocations: 138.6 kB / 475.5 MB, free: 9.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3051, allocations: 345.9 kB / 475.9 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006835/0.3058, allocations: 253.9 kB / 476.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008572/0.3067, allocations: 475.7 kB / 476.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/0.3109, allocations: 1.545 MB / 478.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3109, allocations: 8 kB / 478.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002152/0.3131, allocations: 1.134 MB / 479.3 MB, free: 5.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3131, allocations: 12.09 kB / 479.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.3132, allocations: 83.92 kB / 479.4 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3143, allocations: 0.5897 MB / 479.9 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.3148, allocations: 139.8 kB / 480.1 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.3164, allocations: 1.523 MB / 481.6 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.317, allocations: 91.47 kB / 481.7 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.3171, allocations: 32 kB / 481.7 MB, free: 3.113 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.0004852/0.3176, allocations: 301.6 kB / 482 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.3178, allocations: 218.7 kB / 482.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.3202, allocations: 1.118 MB / 483.3 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.3202, allocations: 11.94 kB / 483.4 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3202, allocations: 0 / 483.4 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.3202, allocations: 3.984 kB / 483.4 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3214, allocations: 0.9042 MB / 484.3 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001148/0.3215, allocations: 79.98 kB / 484.3 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.3219, allocations: 67.94 kB / 484.4 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.323, allocations: 0.6358 MB / 485 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.3231, allocations: 20 kB / 485.1 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.3245, allocations: 1.145 MB / 486.2 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3245, allocations: 0 / 486.2 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/0.3273, allocations: 1.406 MB / 487.6 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.3278, allocations: 218.6 kB / 487.8 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.328, allocations: 19.88 kB / 487.9 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.3284, allocations: 35.95 kB / 487.9 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.3286, allocations: 52.41 kB / 487.9 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.3286, allocations: 24 kB / 488 MB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001241/0.3299, allocations: 0.9483 MB / 488.9 MB, free: 11.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3299, allocations: 0 / 488.9 MB, free: 11.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008978/0.3308, allocations: 442.9 kB / 489.3 MB, free: 11.34 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.003883/0.3346, allocations: 2.34 MB / 491.7 MB, free: 8.969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.3366, allocations: 0.8188 MB / 492.5 MB, free: 8.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3366, allocations: 0 / 492.5 MB, free: 8.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.3379, allocations: 0.5078 MB / 493 MB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009284/0.3388, allocations: 219 kB / 493.2 MB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.3554, allocations: 10.71 MB / 0.4921 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.3561, allocations: 0.638 MB / 0.4927 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004666/0.3565, allocations: 162.1 kB / 0.4929 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/0.3573, allocations: 0.6477 MB / 0.4935 GB, free: 10.89 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3573, allocations: 4 kB / 0.4935 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07324/0.4305, allocations: 32.83 MB / 0.5256 GB, free: 10.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/14.84, allocations: 7.641 kB / 0.5256 GB, free: 10.23 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.55203612986952] 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.981999911833555 15.188556065 14.911453732 Calling exit ...