Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001808/0.001808, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002196/0.002196, allocations: 205.7 kB / 24.49 MB, free: 3.965 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+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.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2147, allocations: 53.37 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007133/0.2218, allocations: 5.347 MB / 437.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.2245, allocations: 1.513 MB / 439.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.2249, allocations: 23.88 kB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.2252, allocations: 170.3 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.2258, allocations: 293.2 kB / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008006/0.2266, allocations: 423.4 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.228, allocations: 1.391 MB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/0.2285, allocations: 305.4 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006305/0.2291, allocations: 0.5023 MB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006656/0.2298, allocations: 0.5719 MB / 442.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.23, allocations: 136 kB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.2303, allocations: 176 kB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.2305, allocations: 283.1 kB / 443.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000508/0.231, allocations: 497.9 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.2326, allocations: 1.556 MB / 445.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2326, allocations: 0 / 445.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2326, allocations: 0 / 445.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.2326, allocations: 0 / 445.5 MB, free: 9.539 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.002811/0.2354, allocations: 1.334 MB / 446.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2355, allocations: 8.031 kB / 446.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000368/0.2359, allocations: 140.2 kB / 447 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008552/0.2367, allocations: 0.49 MB / 447.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.2368, allocations: 70.31 kB / 447.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.2369, allocations: 88.36 kB / 447.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.2388, allocations: 1.114 MB / 448.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2388, allocations: 0 / 448.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.736e-05/0.2389, allocations: 36 kB / 448.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.2389, allocations: 20 kB / 448.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.2407, allocations: 0.8511 MB / 449.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.2463, allocations: 2.768 MB / 452.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.2475, allocations: 0.6107 MB / 453 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/0.2482, allocations: 399.2 kB / 453.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.808e-05/0.2483, allocations: 20.59 kB / 453.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.2483, allocations: 43.22 kB / 453.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/0.2483, allocations: 0 / 453.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004727/0.253, allocations: 2.19 MB / 455.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.2531, allocations: 60.06 kB / 455.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.2538, allocations: 0.5498 MB / 456.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.2538, allocations: 41.7 kB / 456.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.2542, allocations: 456.2 kB / 456.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.2544, allocations: 277.7 kB / 457 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.2547, allocations: 146.6 kB / 457.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.2549, allocations: 382.8 kB / 457.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.2555, allocations: 321.9 kB / 457.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/0.2564, allocations: 468.6 kB / 458.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.2578, allocations: 0.8124 MB / 459.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2578, allocations: 0 / 459.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002337/0.2602, allocations: 1.107 MB / 460.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2602, allocations: 7.938 kB / 460.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2602, allocations: 4 kB / 460.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.2608, allocations: 188.8 kB / 460.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009687/0.2618, allocations: 199.7 kB / 460.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.2658, allocations: 2.727 MB / 463.4 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.2664, allocations: 32.03 kB / 463.4 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.2665, allocations: 35.98 kB / 463.4 MB, free: 7.059 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.0003703/0.2668, allocations: 229.7 kB / 463.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.267, allocations: 79.53 kB / 463.7 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.2672, allocations: 90.59 kB / 463.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2672, allocations: 7.922 kB / 463.8 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2672, allocations: 0 / 463.8 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.2673, allocations: 71.52 kB / 463.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.2674, allocations: 15.94 kB / 463.9 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.268, allocations: 55.95 kB / 464 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.2682, allocations: 60.47 kB / 464 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003059/0.2712, allocations: 1.075 MB / 465.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002457/0.2737, allocations: 1.408 MB / 466.5 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006506/0.2743, allocations: 329.1 kB / 466.8 MB, free: 3.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000491/0.2748, allocations: 374.8 kB / 467.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of Backend: time 7.32e-07/0.2748, allocations: 0 / 467.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.277, allocations: 0.8343 MB / 468 MB, free: 2.406 MB / 366.1 MB Notification: Performance of SimCode: time 0.003186/0.2802, allocations: 2.389 MB / 470.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02371/0.3039, allocations: 14.59 MB / 485 MB, free: 1.52 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.728678822997608] 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.3119766730014817 0.32648130999999997 0.09082886600000001 Calling exit ...