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.00187/0.00187, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001977/0.001977, allocations: 217.9 kB / 23.73 MB, free: 4.164 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.001653/0.001653, allocations: 51.91 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2343, allocations: 53.38 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009101/0.2434, allocations: 7.149 MB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.2571, allocations: 9.853 MB / 448.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.2582, allocations: 91.06 kB / 448.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.2606, allocations: 0.7592 MB / 448.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.2646, allocations: 1.26 MB / 450.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.2667, allocations: 0.707 MB / 450.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004324/0.271, allocations: 2.73 MB / 453.6 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.2715, allocations: 222.2 kB / 453.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008543/0.2723, allocations: 0.5755 MB / 454.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007601/0.2731, allocations: 0.5859 MB / 455 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.2732, allocations: 68 kB / 455.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.2749, allocations: 0.7142 MB / 455.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.2751, allocations: 214.6 kB / 456 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006332/0.2757, allocations: 0.5784 MB / 456.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.2786, allocations: 2.158 MB / 458.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2786, allocations: 3.938 kB / 458.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2786, allocations: 4 kB / 458.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.2786, allocations: 0 / 458.8 MB, free: 10.86 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.003528/0.2821, allocations: 2.213 MB / 461 MB, free: 8.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2822, allocations: 16.02 kB / 461 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.2823, allocations: 98.7 kB / 461.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.2827, allocations: 243.5 kB / 461.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.2847, allocations: 1.223 MB / 462.5 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.2847, allocations: 45.3 kB / 462.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.2848, allocations: 52 kB / 462.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.2862, allocations: 0.719 MB / 463.4 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2862, allocations: 0 / 463.4 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.2863, allocations: 20 kB / 463.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.2863, allocations: 23.97 kB / 463.4 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.2877, allocations: 0.575 MB / 464 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.2914, allocations: 2.327 MB / 466.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.2926, allocations: 0.5682 MB / 466.9 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008832/0.2935, allocations: 490 kB / 467.3 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006301/0.2998, allocations: 2.661 MB / 470 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009028/0.3007, allocations: 402.9 kB / 470.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.407e-06/0.3007, allocations: 0 / 470.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007655/0.3084, allocations: 2.317 MB / 472.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.3085, allocations: 85.61 kB / 472.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.3105, allocations: 1.438 MB / 474.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.3106, allocations: 37.7 kB / 474.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008283/0.3114, allocations: 0.7908 MB / 475.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.3117, allocations: 261.7 kB / 475.3 MB, free: 9.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.3119, allocations: 138.6 kB / 475.5 MB, free: 9.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3121, allocations: 341.9 kB / 475.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.3127, allocations: 261.8 kB / 476 MB, free: 9.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/0.3135, allocations: 471.8 kB / 476.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/0.317, allocations: 1.552 MB / 478.1 MB, free: 6.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.317, allocations: 3.938 kB / 478.1 MB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002299/0.3193, allocations: 1.13 MB / 479.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3194, allocations: 8 kB / 479.2 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/0.3195, allocations: 87.92 kB / 479.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.3205, allocations: 0.585 MB / 479.9 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.3211, allocations: 139.8 kB / 480 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.3228, allocations: 1.521 MB / 481.5 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.3235, allocations: 95.41 kB / 481.6 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.3236, allocations: 40 kB / 481.7 MB, free: 3.309 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.0005902/0.3242, allocations: 297.7 kB / 482 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.3244, allocations: 214.7 kB / 482.2 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.3268, allocations: 1.118 MB / 483.3 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3269, allocations: 8 kB / 483.3 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3269, allocations: 0 / 483.3 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3269, allocations: 3.984 kB / 483.3 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3281, allocations: 0.9081 MB / 484.2 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001252/0.3282, allocations: 79.98 kB / 484.3 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.3286, allocations: 63.94 kB / 484.3 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.3297, allocations: 0.6358 MB / 485 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.3298, allocations: 20 kB / 485 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.3312, allocations: 1.141 MB / 486.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3312, allocations: 0 / 486.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/0.334, allocations: 1.41 MB / 487.6 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/0.3344, allocations: 218.5 kB / 487.8 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.3346, allocations: 15.94 kB / 487.8 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.3351, allocations: 39.95 kB / 487.8 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3352, allocations: 56.41 kB / 487.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.3353, allocations: 20.12 kB / 487.9 MB, free: 12.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.3366, allocations: 0.9445 MB / 488.8 MB, free: 11.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3366, allocations: 0 / 488.8 MB, free: 11.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009653/0.3375, allocations: 442.8 kB / 489.3 MB, free: 11.55 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.004013/0.3415, allocations: 2.352 MB / 491.6 MB, free: 9.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.3436, allocations: 0.8227 MB / 492.4 MB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3436, allocations: 0 / 492.4 MB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.3449, allocations: 0.5 MB / 492.9 MB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.346, allocations: 215 kB / 493.2 MB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.3636, allocations: 10.7 MB / 0.492 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.3643, allocations: 0.638 MB / 0.4927 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004911/0.3648, allocations: 166.1 kB / 0.4928 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008037/0.3656, allocations: 0.6477 MB / 0.4935 GB, free: 11.09 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3656, allocations: 0 / 0.4935 GB, free: 11.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08347/0.4491, allocations: 32.85 MB / 0.5255 GB, free: 10.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.8, allocations: 4 kB / 0.5255 GB, free: 10.54 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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: 17.44064902001992] 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.947442000731826 15.133041041 14.851494543 Calling exit ...