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.0008823/0.0008823, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008663/0.0008663, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8623/0.8623, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 2.054e-06/2.054e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.343e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007702/0.007725, allocations: 7.164 MB / 331.7 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008919/0.01664, allocations: 9.857 MB / 341.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.01773, allocations: 83.12 kB / 341.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.01916, allocations: 0.7807 MB / 342.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002795/0.02196, allocations: 1.291 MB / 343.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.02336, allocations: 0.7107 MB / 344.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002965/0.02633, allocations: 2.815 MB / 347.2 MB, free: 9.062 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.02681, allocations: 222.2 kB / 347.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.02784, allocations: 0.8104 MB / 348.2 MB, free: 8.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000564/0.02841, allocations: 442.3 kB / 348.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.02854, allocations: 72 kB / 348.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.02993, allocations: 0.718 MB / 349.5 MB, free: 6.789 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.03007, allocations: 218.6 kB / 349.7 MB, free: 6.574 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.03046, allocations: 438.6 kB / 350.1 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.03259, allocations: 2.168 MB / 352.3 MB, free: 3.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.0326, allocations: 0 / 352.3 MB, free: 3.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.0326, allocations: 3.938 kB / 352.3 MB, free: 3.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.117e-05/0.03263, allocations: 0 / 352.3 MB, free: 3.965 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.002337/0.03497, allocations: 2.201 MB / 354.5 MB, free: 1.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.03502, allocations: 15.98 kB / 354.5 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.892e-05/0.0351, allocations: 102.7 kB / 354.6 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.0354, allocations: 243.5 kB / 354.8 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.03666, allocations: 1.226 MB / 356.1 MB, free: 48 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.03669, allocations: 41.69 kB / 356.1 MB, free: 8 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/0.03678, allocations: 56.17 kB / 356.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.03762, allocations: 0.7229 MB / 356.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.03763, allocations: 0 / 356.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.03768, allocations: 20 kB / 356.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.03769, allocations: 19.98 kB / 356.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.03845, allocations: 0.5673 MB / 357.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.04076, allocations: 2.333 MB / 359.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.04146, allocations: 0.5681 MB / 360.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.04201, allocations: 490.2 kB / 360.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00336/0.04537, allocations: 2.653 MB / 363.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.04589, allocations: 403 kB / 363.9 MB, free: 8.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 1.973e-06/0.04589, allocations: 0 / 363.9 MB, free: 8.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.003933/0.04982, allocations: 2.321 MB / 366.2 MB, free: 5.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.04987, allocations: 93.59 kB / 366.3 MB, free: 5.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.05096, allocations: 1.422 MB / 367.7 MB, free: 4.098 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.051, allocations: 45.69 kB / 367.8 MB, free: 4.047 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.05143, allocations: 0.7829 MB / 368.6 MB, free: 3.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.05156, allocations: 269.8 kB / 368.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.0517, allocations: 138.6 kB / 369 MB, free: 2.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.05179, allocations: 337.9 kB / 369.3 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.05214, allocations: 257.8 kB / 369.6 MB, free: 2.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.05258, allocations: 475.7 kB / 370 MB, free: 1.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.05449, allocations: 1.549 MB / 371.6 MB, free: 100 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.05449, allocations: 7.938 kB / 371.6 MB, free: 92 kB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001247/0.05574, allocations: 1.134 MB / 372.7 MB, free: 14.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.05576, allocations: 8 kB / 372.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-05/0.05582, allocations: 76.59 kB / 372.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/0.05643, allocations: 0.5918 MB / 373.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.05673, allocations: 131.8 kB / 373.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000936/0.05767, allocations: 1.545 MB / 375.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.058, allocations: 91.61 kB / 375.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.05804, allocations: 32 kB / 375.2 MB, free: 12.42 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.000376/0.05842, allocations: 297.6 kB / 375.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.05855, allocations: 214.6 kB / 375.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.05993, allocations: 1.13 MB / 376.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.05993, allocations: 11.94 kB / 376.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.05994, allocations: 0 / 376.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.05994, allocations: 0 / 376.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.06067, allocations: 0.8965 MB / 377.7 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.656e-05/0.06073, allocations: 76 kB / 377.8 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.06092, allocations: 67.92 kB / 377.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006632/0.06158, allocations: 0.6405 MB / 378.5 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.06162, allocations: 19.98 kB / 378.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008249/0.06244, allocations: 1.143 MB / 379.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.06244, allocations: 0 / 379.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.06401, allocations: 1.413 MB / 381.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.06425, allocations: 218.5 kB / 381.3 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/0.06434, allocations: 15.98 kB / 381.3 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.06458, allocations: 31.97 kB / 381.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.06468, allocations: 56.44 kB / 381.4 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.06471, allocations: 31.98 kB / 381.4 MB, free: 6.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007587/0.06547, allocations: 0.9405 MB / 382.4 MB, free: 5.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06547, allocations: 0 / 382.4 MB, free: 5.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006161/0.06608, allocations: 442.9 kB / 382.8 MB, free: 4.656 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.002284/0.06837, allocations: 2.364 MB / 385.2 MB, free: 2.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.06951, allocations: 0.8266 MB / 386 MB, free: 1.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.06951, allocations: 0 / 386 MB, free: 1.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006316/0.07015, allocations: 0.5 MB / 386.5 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.07071, allocations: 215.1 kB / 386.7 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.08118, allocations: 10.59 MB / 397.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.08158, allocations: 0.6419 MB / 397.9 MB, free: 5.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.08191, allocations: 162.1 kB / 398.1 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.08238, allocations: 0.6565 MB / 398.7 MB, free: 4.281 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/0.08238, allocations: 0 / 398.7 MB, free: 4.281 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/0.1269, allocations: 32.95 MB / 431.7 MB, free: 3.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.887/9.014, allocations: 7.5 kB / 431.7 MB, free: 3.496 MB / 394.7 MB " [Timeout remaining time 651] (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: 10.74783871229738] 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.128128129057586 9.139278656 9.10474826 Calling exit ...