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.001826/0.001826, allocations: 89.53 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002213/0.002213, allocations: 158 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.479/1.479, allocations: 177 MB / 204.1 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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: 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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.895e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01545/0.01548, allocations: 7.154 MB / 332.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0248/0.04028, allocations: 9.856 MB / 342 MB, free: 3.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.0429, allocations: 91.94 kB / 342.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004374/0.04728, allocations: 0.7657 MB / 342.9 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008146/0.05542, allocations: 1.302 MB / 344.2 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003923/0.05934, allocations: 0.7108 MB / 344.9 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007883/0.06723, allocations: 2.811 MB / 347.7 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.0677, allocations: 226.2 kB / 347.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.06884, allocations: 0.8104 MB / 348.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007339/0.06957, allocations: 446.3 kB / 349.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.06973, allocations: 68 kB / 349.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.0715, allocations: 0.7141 MB / 350 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.07174, allocations: 218.6 kB / 350.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006024/0.07234, allocations: 442.6 kB / 350.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.07524, allocations: 2.18 MB / 352.8 MB, free: 9.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.07525, allocations: 0 / 352.8 MB, free: 9.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.07525, allocations: 4 kB / 352.8 MB, free: 9.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.541e-05/0.07531, allocations: 0 / 352.8 MB, free: 9.215 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.003913/0.07922, allocations: 2.186 MB / 355 MB, free: 6.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.07925, allocations: 12.03 kB / 355 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000467/0.07972, allocations: 243.5 kB / 355.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.0818, allocations: 1.222 MB / 356.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.08184, allocations: 37.69 kB / 356.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.08195, allocations: 64.3 kB / 356.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.08342, allocations: 0.7267 MB / 357.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.08344, allocations: 0 / 357.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.08351, allocations: 20 kB / 357.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.08353, allocations: 20 kB / 357.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.085, allocations: 0.5712 MB / 357.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.08882, allocations: 2.237 MB / 360.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.09018, allocations: 0.5676 MB / 360.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009625/0.09114, allocations: 494.1 kB / 361.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006158/0.0973, allocations: 2.67 MB / 363.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008996/0.0982, allocations: 395 kB / 364.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/0.0982, allocations: 4 kB / 364.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.00783/0.106, allocations: 2.317 MB / 366.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.1061, allocations: 85.61 kB / 366.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.1081, allocations: 1.426 MB / 368.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.1081, allocations: 37.7 kB / 368.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007838/0.1089, allocations: 0.779 MB / 368.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.1092, allocations: 257.8 kB / 369.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.1094, allocations: 142.6 kB / 369.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1096, allocations: 345.9 kB / 369.6 MB, free: 8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006977/0.1103, allocations: 261.8 kB / 369.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009063/0.1112, allocations: 470.4 kB / 370.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/0.1151, allocations: 1.552 MB / 371.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.1151, allocations: 4 kB / 371.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002487/0.1176, allocations: 1.134 MB / 373 MB, free: 4.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1176, allocations: 7.984 kB / 373 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.1178, allocations: 80 kB / 373.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.1189, allocations: 0.5948 MB / 373.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.1196, allocations: 131.8 kB / 373.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.1212, allocations: 1.534 MB / 375.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.122, allocations: 91.55 kB / 375.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/0.1221, allocations: 39.94 kB / 375.5 MB, free: 1.906 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.0006207/0.1227, allocations: 299.7 kB / 375.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.123, allocations: 210.7 kB / 376 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.1257, allocations: 1.122 MB / 377.1 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.1257, allocations: 4 kB / 377.1 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1257, allocations: 3.938 kB / 377.1 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.1257, allocations: 7.984 kB / 377.1 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.127, allocations: 0.8135 MB / 377.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001174/0.1271, allocations: 79.98 kB / 378 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.1275, allocations: 71.88 kB / 378.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.1288, allocations: 0.6482 MB / 378.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.1289, allocations: 20 kB / 378.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.1304, allocations: 1.139 MB / 379.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.1304, allocations: 4 kB / 379.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.1335, allocations: 1.406 MB / 381.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.1339, allocations: 218.5 kB / 381.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.1341, allocations: 12 kB / 381.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/0.1347, allocations: 35.95 kB / 381.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.1349, allocations: 48.42 kB / 381.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/0.135, allocations: 27.98 kB / 381.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001509/0.1365, allocations: 0.9445 MB / 382.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1365, allocations: 0 / 382.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001022/0.1375, allocations: 435 kB / 383 MB, free: 10.26 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.001013/0.1385, allocations: 0.5078 MB / 383.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.1407, allocations: 0.8305 MB / 384.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1407, allocations: 0 / 384.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.1421, allocations: 0.5 MB / 384.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.1432, allocations: 207 kB / 385 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/0.1485, allocations: 2.859 MB / 387.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.1492, allocations: 0.6458 MB / 388.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004806/0.1497, allocations: 158.1 kB / 388.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.1499, allocations: 88.42 kB / 388.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1499, allocations: 0 / 388.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of Templates: time 0.03137/0.1813, allocations: 15.05 MB / 403.8 MB, free: 5.418 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.965967066586018] 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.19104976207017899 0.204598193 0.126060956 Calling exit ...