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.001347/0.001347, allocations: 82.7 kB / 20.68 MB, free: 1.039 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.001464/0.001464, allocations: 169.4 kB / 23.95 MB, free: 4.172 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.427/1.427, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.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: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.033e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008178/0.008198, allocations: 7.172 MB / 332.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.02177, allocations: 9.855 MB / 342.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.02307, allocations: 88.06 kB / 342.2 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.02515, allocations: 0.7803 MB / 343 MB, free: 3.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.02931, allocations: 1.287 MB / 344.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.03125, allocations: 0.7225 MB / 345 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004332/0.03558, allocations: 2.811 MB / 347.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.03601, allocations: 218.2 kB / 348 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.03704, allocations: 0.8104 MB / 348.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.03768, allocations: 442.3 kB / 349.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.03782, allocations: 68 kB / 349.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.03936, allocations: 0.7141 MB / 350 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.03963, allocations: 222.6 kB / 350.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000589/0.04022, allocations: 442.6 kB / 350.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.04292, allocations: 2.18 MB / 352.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.04292, allocations: 0 / 352.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.04292, allocations: 0 / 352.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.04294, allocations: 0 / 352.9 MB, free: 9.262 MB / 318.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.003509/0.04645, allocations: 2.193 MB / 355 MB, free: 7.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.04649, allocations: 8.031 kB / 355.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.04692, allocations: 251.5 kB / 355.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.04885, allocations: 1.222 MB / 356.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.04889, allocations: 37.69 kB / 356.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.04899, allocations: 56.38 kB / 356.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.05042, allocations: 0.7229 MB / 357.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.05043, allocations: 0 / 357.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.0505, allocations: 24 kB / 357.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.05052, allocations: 19.98 kB / 357.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.05193, allocations: 0.5673 MB / 357.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.05547, allocations: 2.233 MB / 360.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.05681, allocations: 0.5643 MB / 360.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009223/0.05773, allocations: 494.1 kB / 361.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005982/0.06371, allocations: 2.67 MB / 363.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008963/0.06461, allocations: 399 kB / 364.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.06461, allocations: 4 kB / 364.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.007471/0.07208, allocations: 2.309 MB / 366.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.07215, allocations: 93.53 kB / 366.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.07392, allocations: 1.426 MB / 368.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.07398, allocations: 37.7 kB / 368.2 MB, free: 9.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007362/0.07472, allocations: 0.7751 MB / 368.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.07493, allocations: 257.8 kB / 369.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.07516, allocations: 146.6 kB / 369.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.07532, allocations: 345.9 kB / 369.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.07599, allocations: 257.8 kB / 369.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008183/0.0768, allocations: 467.7 kB / 370.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/0.08047, allocations: 1.56 MB / 371.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.08047, allocations: 0 / 371.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002316/0.08279, allocations: 1.134 MB / 373.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.08281, allocations: 8 kB / 373.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/0.08294, allocations: 80 kB / 373.2 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.08409, allocations: 0.6008 MB / 373.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.08468, allocations: 131.8 kB / 373.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.08632, allocations: 1.534 MB / 375.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.08696, allocations: 91.55 kB / 375.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.08703, allocations: 36 kB / 375.5 MB, free: 1.953 MB / 334.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.000585/0.08762, allocations: 295 kB / 375.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.08786, allocations: 210.7 kB / 376 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.09042, allocations: 1.122 MB / 377.2 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.09043, allocations: 8 kB / 377.2 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.09044, allocations: 3.938 kB / 377.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.09044, allocations: 0 / 377.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.09167, allocations: 0.8213 MB / 378 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001212/0.09179, allocations: 72 kB / 378.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.09219, allocations: 63.94 kB / 378.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.0934, allocations: 0.6482 MB / 378.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.09346, allocations: 24 kB / 378.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.09489, allocations: 1.143 MB / 379.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.09489, allocations: 0 / 379.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.09779, allocations: 1.413 MB / 381.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.09818, allocations: 210.7 kB / 381.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.09834, allocations: 16 kB / 381.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.09884, allocations: 35.95 kB / 381.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.09898, allocations: 52.41 kB / 381.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.09905, allocations: 24 kB / 381.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001288/0.1003, allocations: 0.9445 MB / 382.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1003, allocations: 3.938 kB / 382.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009287/0.1013, allocations: 435 kB / 383.1 MB, free: 10.3 MB / 350.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.0008849/0.1021, allocations: 0.5144 MB / 383.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.1042, allocations: 0.8227 MB / 384.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1042, allocations: 0 / 384.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.1054, allocations: 0.5078 MB / 384.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008933/0.1063, allocations: 210.8 kB / 385.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.1109, allocations: 2.862 MB / 388 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.1116, allocations: 0.638 MB / 388.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000427/0.1121, allocations: 162.1 kB / 388.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.1122, allocations: 76.5 kB / 388.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1122, allocations: 0 / 388.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of Templates: time 0.0286/0.1408, allocations: 15.06 MB / 403.9 MB, free: 5.477 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.878615029156208] 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'] 0.1485036313533783 0.16378206699999995 0.11771563299999994 Calling exit ...