Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001774/0.001774, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.0014/0.0014, allocations: 219.9 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 75.77 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2261, allocations: 53.31 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007748/0.2339, allocations: 6.132 MB / 438.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.2371, allocations: 1.556 MB / 439.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.2375, allocations: 19.94 kB / 439.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.2379, allocations: 170.3 kB / 439.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000595/0.2385, allocations: 293.2 kB / 440.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008916/0.2394, allocations: 415.4 kB / 440.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.2408, allocations: 1.395 MB / 442 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004755/0.2413, allocations: 297.3 kB / 442.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006394/0.2419, allocations: 0.4945 MB / 442.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.2426, allocations: 0.568 MB / 443.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.2428, allocations: 139.9 kB / 443.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.2431, allocations: 183.9 kB / 443.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.2434, allocations: 271.2 kB / 444 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.2439, allocations: 0.591 MB / 444.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.2455, allocations: 1.55 MB / 446.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2455, allocations: 0 / 446.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2455, allocations: 0 / 446.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.2455, allocations: 0 / 446.1 MB, free: 9.234 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002859/0.2484, allocations: 1.409 MB / 447.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2484, allocations: 12.03 kB / 447.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/0.2488, allocations: 128.2 kB / 447.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008531/0.2496, allocations: 0.5543 MB / 448.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.848e-05/0.2497, allocations: 66.38 kB / 448.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.2498, allocations: 100.4 kB / 448.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.2515, allocations: 0.8548 MB / 449.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.2515, allocations: 0 / 449.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.2516, allocations: 40 kB / 449.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.2516, allocations: 23.98 kB / 449.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.2533, allocations: 0.8472 MB / 450.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005749/0.2591, allocations: 3.223 MB / 453.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.2603, allocations: 0.6291 MB / 454 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.261, allocations: 391.1 kB / 454.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/0.261, allocations: 12.55 kB / 454.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.2611, allocations: 47.12 kB / 454.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.895e-06/0.2611, allocations: 0 / 454.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004757/0.2658, allocations: 2.269 MB / 456.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2659, allocations: 60.06 kB / 456.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.2667, allocations: 0.6057 MB / 457.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.2667, allocations: 45.64 kB / 457.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.2671, allocations: 456.3 kB / 457.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.2673, allocations: 265.7 kB / 458.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.2676, allocations: 150.6 kB / 458.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.2678, allocations: 386.8 kB / 458.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/0.2685, allocations: 325.9 kB / 459 MB, free: 12.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008051/0.2693, allocations: 464.6 kB / 459.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.2708, allocations: 0.8125 MB / 460.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2708, allocations: 4 kB / 460.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002313/0.2731, allocations: 1.115 MB / 461.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2731, allocations: 6.812 kB / 461.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2731, allocations: 4 kB / 461.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.2737, allocations: 188.7 kB / 461.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/0.2746, allocations: 195.8 kB / 461.7 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.2787, allocations: 2.892 MB / 464.6 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/0.2794, allocations: 40.03 kB / 464.7 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.2795, allocations: 31.98 kB / 464.7 MB, free: 6.062 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003939/0.2799, allocations: 229.7 kB / 464.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.28, allocations: 91.36 kB / 465 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.2802, allocations: 95.27 kB / 465.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.2803, allocations: 3.984 kB / 465.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2803, allocations: 0 / 465.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.2804, allocations: 152.6 kB / 465.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.2805, allocations: 16 kB / 465.3 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/0.2812, allocations: 51.95 kB / 465.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.2813, allocations: 64.55 kB / 465.4 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003009/0.2843, allocations: 1.091 MB / 466.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002452/0.2868, allocations: 1.4 MB / 467.9 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006596/0.2874, allocations: 329.1 kB / 468.2 MB, free: 2.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005463/0.288, allocations: 427.1 kB / 468.6 MB, free: 2.082 MB / 366.1 MB Notification: Performance of Backend: time 5.61e-07/0.288, allocations: 0 / 468.6 MB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.2903, allocations: 0.8341 MB / 469.4 MB, free: 1.23 MB / 366.1 MB Notification: Performance of SimCode: time 0.003382/0.2937, allocations: 2.429 MB / 471.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of Templates: time 0.02444/0.3181, allocations: 13.54 MB / 485.4 MB, free: 1.32 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.619839574210346] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'C3.v', 'C4.v', 'C5.v', 'Transistor1.Tr.C.v', 'Transistor1.ct.v', 'Transistor2.Tr.C.v', 'Transistor2.ct.v'] 0.32693050103262067 0.340831522 0.092234783 Calling exit ...