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.001526/0.001526, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001827/0.001827, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001577/0.001577, allocations: 55.92 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2545, allocations: 53.35 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01051/0.265, allocations: 8.368 MB / 439.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.281, allocations: 11.4 MB / 450.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.2826, allocations: 87.06 kB / 451 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.2853, allocations: 0.8475 MB / 451.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.2896, allocations: 1.248 MB / 453.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.2917, allocations: 0.7111 MB / 453.8 MB, free: 80 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004835/0.2966, allocations: 2.73 MB / 456.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.2971, allocations: 234.2 kB / 456.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009123/0.298, allocations: 0.5793 MB / 457.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000846/0.2988, allocations: 0.6249 MB / 458 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.2989, allocations: 64 kB / 458 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.3009, allocations: 0.7962 MB / 458.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.3012, allocations: 218.7 kB / 459 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007571/0.3019, allocations: 0.7724 MB / 459.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.3049, allocations: 2.139 MB / 461.9 MB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3049, allocations: 0 / 461.9 MB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3049, allocations: 0 / 461.9 MB, free: 7.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.027e-05/0.305, allocations: 0 / 461.9 MB, free: 7.875 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.003808/0.3088, allocations: 2.209 MB / 464.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.698e-05/0.3089, allocations: 12.03 kB / 464.2 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.309, allocations: 106.6 kB / 464.3 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004436/0.3094, allocations: 247.5 kB / 464.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.3115, allocations: 1.223 MB / 465.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.3116, allocations: 41.3 kB / 465.8 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.3117, allocations: 59.94 kB / 465.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.313, allocations: 0.6978 MB / 466.5 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3131, allocations: 0 / 466.5 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.3131, allocations: 20 kB / 466.6 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.3132, allocations: 23.98 kB / 466.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.3145, allocations: 0.5673 MB / 467.1 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.3183, allocations: 2.467 MB / 469.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.3196, allocations: 0.5644 MB / 470.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008945/0.3205, allocations: 0.4902 MB / 470.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006352/0.3268, allocations: 2.738 MB / 473.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/0.3277, allocations: 398.9 kB / 473.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.665e-06/0.3277, allocations: 0 / 473.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007214/0.3349, allocations: 2.321 MB / 476.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.335, allocations: 85.61 kB / 476.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.3369, allocations: 1.426 MB / 477.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.337, allocations: 37.7 kB / 477.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007726/0.3378, allocations: 0.7908 MB / 478.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.338, allocations: 257.8 kB / 478.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.3382, allocations: 146.6 kB / 478.8 MB, free: 6.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3384, allocations: 337.9 kB / 479.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/0.339, allocations: 261.8 kB / 479.4 MB, free: 5.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/0.3398, allocations: 446 kB / 479.9 MB, free: 5.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/0.3432, allocations: 1.548 MB / 481.4 MB, free: 3.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3432, allocations: 8 kB / 481.4 MB, free: 3.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002279/0.3455, allocations: 1.13 MB / 482.6 MB, free: 2.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3455, allocations: 12.03 kB / 482.6 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/0.3456, allocations: 83.92 kB / 482.6 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.3467, allocations: 0.5996 MB / 483.2 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.3473, allocations: 131.8 kB / 483.4 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.349, allocations: 1.541 MB / 484.9 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.3496, allocations: 83.44 kB / 485 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.3497, allocations: 44.11 kB / 485 MB, free: 164 kB / 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.000587/0.3503, allocations: 296.1 kB / 485.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.3505, allocations: 206.7 kB / 485.5 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.353, allocations: 1.126 MB / 486.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.353, allocations: 4 kB / 486.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.353, allocations: 7.875 kB / 486.7 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.353, allocations: 7.922 kB / 486.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.3543, allocations: 0.9667 MB / 487.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001191/0.3544, allocations: 75.98 kB / 487.7 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.3548, allocations: 63.94 kB / 487.8 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.3561, allocations: 0.6592 MB / 488.4 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.3562, allocations: 23.98 kB / 488.5 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.3576, allocations: 1.134 MB / 489.6 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.3576, allocations: 7.984 kB / 489.6 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.3605, allocations: 1.406 MB / 491 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.361, allocations: 226.5 kB / 491.2 MB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.3612, allocations: 19.94 kB / 491.3 MB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.3616, allocations: 39.89 kB / 491.3 MB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.3618, allocations: 48.42 kB / 491.3 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.3618, allocations: 27.98 kB / 491.4 MB, free: 9.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.3632, allocations: 0.9367 MB / 492.3 MB, free: 8.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3632, allocations: 3.938 kB / 492.3 MB, free: 8.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001036/0.3643, allocations: 439 kB / 492.7 MB, free: 8.32 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.003987/0.3683, allocations: 2.354 MB / 495.1 MB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.3704, allocations: 0.8265 MB / 495.9 MB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3704, allocations: 0 / 495.9 MB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.3716, allocations: 0.5 MB / 496.4 MB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3727, allocations: 212.8 kB / 496.6 MB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.3907, allocations: 10.71 MB / 0.4954 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008921/0.3916, allocations: 1.224 MB / 0.4966 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005159/0.3921, allocations: 162.1 kB / 0.4968 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/0.3929, allocations: 0.6516 MB / 0.4974 GB, free: 7.266 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3929, allocations: 0 / 0.4974 GB, free: 7.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0802/0.4731, allocations: 33.91 MB / 0.5306 GB, free: 5.602 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/16.93, allocations: 4 kB / 0.5306 GB, free: 5.598 MB / 446.1 MB " [Timeout remaining time 643] (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: 19.643629152000358] 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'] 17.070368945001974 17.28563036 16.976493024 Calling exit ...