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.0007868/0.0007868, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007862/0.0007862, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8595/0.8595, allocations: 177.1 MB / 204.2 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.613e-06/1.613e-06, allocations: 0 / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.091e-05, allocations: 2.281 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.0067/0.006721, allocations: 7.169 MB / 331.7 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007634/0.01435, allocations: 9.861 MB / 341.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005291/0.01488, allocations: 87.06 kB / 341.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.01604, allocations: 0.7729 MB / 342.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.01776, allocations: 1.291 MB / 343.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.01875, allocations: 0.7185 MB / 344.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.02087, allocations: 2.807 MB / 347.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.02115, allocations: 222.2 kB / 347.5 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.02174, allocations: 0.8104 MB / 348.3 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.02208, allocations: 446.3 kB / 348.7 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.02214, allocations: 64 kB / 348.8 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007586/0.0229, allocations: 0.718 MB / 349.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.02301, allocations: 226.6 kB / 349.7 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.02328, allocations: 434.6 kB / 350.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.02462, allocations: 2.18 MB / 352.3 MB, free: 3.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.02463, allocations: 0 / 352.3 MB, free: 3.867 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.02463, allocations: 0 / 352.3 MB, free: 3.867 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.02464, allocations: 0 / 352.3 MB, free: 3.867 MB / 314.7 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.001833/0.02647, allocations: 2.197 MB / 354.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.02651, allocations: 8.031 kB / 354.6 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.239e-05/0.02659, allocations: 102.7 kB / 354.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.02681, allocations: 243.5 kB / 354.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.02794, allocations: 1.222 MB / 356.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.02797, allocations: 41.69 kB / 356.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.02804, allocations: 64.11 kB / 356.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.0288, allocations: 0.719 MB / 356.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.02881, allocations: 0 / 356.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.02885, allocations: 20 kB / 357 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.02886, allocations: 16 kB / 357 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.0296, allocations: 0.575 MB / 357.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.03168, allocations: 2.318 MB / 359.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.03237, allocations: 0.5759 MB / 360.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.03287, allocations: 498 kB / 360.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003146/0.03602, allocations: 2.657 MB / 363.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/0.03652, allocations: 406.9 kB / 364 MB, free: 7.902 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 2.364e-06/0.03652, allocations: 0 / 364 MB, free: 7.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.003967/0.04049, allocations: 2.313 MB / 366.3 MB, free: 5.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.04054, allocations: 85.61 kB / 366.4 MB, free: 5.473 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.04155, allocations: 1.43 MB / 367.8 MB, free: 4.004 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.04158, allocations: 37.7 kB / 367.8 MB, free: 3.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.04204, allocations: 0.7869 MB / 368.6 MB, free: 3.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.04218, allocations: 261.7 kB / 368.9 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.04232, allocations: 138.6 kB / 369 MB, free: 2.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.04242, allocations: 338 kB / 369.4 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.04278, allocations: 261.8 kB / 369.6 MB, free: 2.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.04322, allocations: 471.7 kB / 370.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.04511, allocations: 1.556 MB / 371.6 MB, free: 12 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.04511, allocations: 7.938 kB / 371.6 MB, free: 4 kB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001229/0.04634, allocations: 1.126 MB / 372.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.04636, allocations: 8 kB / 372.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.945e-05/0.04643, allocations: 83.98 kB / 372.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/0.04704, allocations: 0.5863 MB / 373.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.04735, allocations: 139.8 kB / 373.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009803/0.04833, allocations: 1.533 MB / 375.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.04862, allocations: 95.53 kB / 375.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.04867, allocations: 40 kB / 375.2 MB, free: 12.33 MB / 346.7 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.0003427/0.04901, allocations: 286.7 kB / 375.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.04914, allocations: 222.6 kB / 375.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.0505, allocations: 1.126 MB / 376.9 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.05051, allocations: 4 kB / 376.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.05051, allocations: 0 / 376.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.05052, allocations: 7.969 kB / 376.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.05121, allocations: 0.9004 MB / 377.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.765e-05/0.05128, allocations: 79.98 kB / 377.9 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.05147, allocations: 59.94 kB / 377.9 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/0.05214, allocations: 0.6405 MB / 378.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.05217, allocations: 24 kB / 378.6 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000829/0.053, allocations: 1.143 MB / 379.7 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.053, allocations: 0 / 379.7 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.0546, allocations: 1.413 MB / 381.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.05482, allocations: 222.5 kB / 381.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/0.05491, allocations: 15.94 kB / 381.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.05514, allocations: 35.95 kB / 381.4 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-05/0.05523, allocations: 52.36 kB / 381.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.05526, allocations: 27.98 kB / 381.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007507/0.05602, allocations: 0.9484 MB / 382.4 MB, free: 4.996 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05602, allocations: 0 / 382.4 MB, free: 4.996 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005894/0.0566, allocations: 435 kB / 382.8 MB, free: 4.57 MB / 346.7 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.002275/0.05888, allocations: 2.36 MB / 385.2 MB, free: 2.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.05998, allocations: 0.8227 MB / 386 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.05999, allocations: 0 / 386 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.06064, allocations: 0.4998 MB / 386.5 MB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.06121, allocations: 219.2 kB / 386.7 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.0719, allocations: 10.58 MB / 397.3 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.07229, allocations: 0.6458 MB / 398 MB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.0726, allocations: 158.2 kB / 398.1 MB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.07307, allocations: 0.6487 MB / 398.8 MB, free: 4.219 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.07308, allocations: 4 kB / 398.8 MB, free: 4.215 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0408/0.1139, allocations: 32.99 MB / 431.8 MB, free: 3.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.041/9.155, allocations: 6.719 kB / 431.8 MB, free: 3.512 MB / 394.7 MB " [Timeout remaining time 651] (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: 10.90354650747031] 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'] 9.266473388299346 9.275597612 9.249170209 Calling exit ...