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.006029/0.006029, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002162/0.002162, allocations: 207.2 kB / 24.47 MB, free: 3.977 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 2.185/2.185, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001779/0.001779, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3043, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.008842/0.3131, allocations: 5.347 MB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003924/0.3171, allocations: 1.517 MB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.3175, allocations: 19.94 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.318, allocations: 178.3 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007703/0.3188, allocations: 297.2 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3199, allocations: 411.4 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.3217, allocations: 1.391 MB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.3222, allocations: 305.4 kB / 441.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007772/0.323, allocations: 0.5062 MB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.3239, allocations: 0.5796 MB / 442.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.3241, allocations: 132 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.3245, allocations: 184 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.3248, allocations: 275.2 kB / 443.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.3254, allocations: 493.9 kB / 443.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.3273, allocations: 1.552 MB / 445.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3273, allocations: 0 / 445.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3273, allocations: 4 kB / 445.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.3273, allocations: 0 / 445.5 MB, free: 9.512 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.00345/0.3308, allocations: 1.342 MB / 446.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3308, allocations: 8.031 kB / 446.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004712/0.3313, allocations: 132.2 kB / 447 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3324, allocations: 0.49 MB / 447.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.3325, allocations: 62.38 kB / 447.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.3327, allocations: 100.3 kB / 447.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.3349, allocations: 1.11 MB / 448.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.335, allocations: 3.984 kB / 448.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.3351, allocations: 40 kB / 448.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.3351, allocations: 20 kB / 448.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.3373, allocations: 0.8511 MB / 449.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006809/0.3441, allocations: 2.76 MB / 452.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.3456, allocations: 0.6262 MB / 453 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/0.3465, allocations: 395.2 kB / 453.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-05/0.3466, allocations: 8.656 kB / 453.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.3466, allocations: 43.22 kB / 453.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.645e-06/0.3466, allocations: 0 / 453.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005835/0.3524, allocations: 2.186 MB / 455.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3525, allocations: 60.06 kB / 455.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008137/0.3533, allocations: 0.5576 MB / 456.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.3534, allocations: 41.7 kB / 456.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.3538, allocations: 456.2 kB / 456.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.354, allocations: 273.7 kB / 457 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.3544, allocations: 146.6 kB / 457.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.3546, allocations: 382.8 kB / 457.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/0.3555, allocations: 321.9 kB / 457.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3566, allocations: 476.5 kB / 458.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.3586, allocations: 0.8047 MB / 459.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3586, allocations: 0 / 459.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002933/0.3615, allocations: 1.103 MB / 460.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3616, allocations: 15.88 kB / 460.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3616, allocations: 4 kB / 460.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007073/0.3623, allocations: 184.8 kB / 460.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.3634, allocations: 195.8 kB / 460.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/0.3683, allocations: 2.723 MB / 463.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.369, allocations: 36.16 kB / 463.4 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.3691, allocations: 36 kB / 463.4 MB, free: 7.035 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.0004342/0.3696, allocations: 241.6 kB / 463.6 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.3697, allocations: 75.53 kB / 463.7 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.3699, allocations: 94.53 kB / 463.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3699, allocations: 4 kB / 463.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.37, allocations: 4 kB / 463.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.37, allocations: 3.984 kB / 463.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.371, allocations: 0.6114 MB / 464.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.371, allocations: 0 / 464.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.372, allocations: 147.8 kB / 464.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006528/0.3727, allocations: 179.5 kB / 464.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.3727, allocations: 27.92 kB / 464.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004554/0.3773, allocations: 2.733 MB / 467.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3773, allocations: 0 / 467.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003376/0.3807, allocations: 1.428 MB / 468.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3808, allocations: 63.52 kB / 469 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.3809, allocations: 16 kB / 469 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/0.3817, allocations: 59.89 kB / 469.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.3819, allocations: 52.55 kB / 469.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.382, allocations: 27.98 kB / 469.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005854/0.3825, allocations: 374.8 kB / 469.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3825, allocations: 7.938 kB / 469.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001161/0.3837, allocations: 236 kB / 469.8 MB, free: 0.5273 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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 Backend phase and start with SimCode phase: time 0.0002979/0.384, allocations: 131.2 kB / 469.9 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.3868, allocations: 0.994 MB / 470.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3868, allocations: 0 / 470.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.3884, allocations: 0.6158 MB / 471.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008422/0.3893, allocations: 130.5 kB / 471.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.3934, allocations: 2.007 MB / 473.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.3938, allocations: 395 kB / 474 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004456/0.3943, allocations: 85.11 kB / 474.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.3945, allocations: 55.41 kB / 474.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3945, allocations: 0 / 474.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02727/0.4218, allocations: 12.23 MB / 486.4 MB, free: 15.98 MB / 398.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 -s cvode -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: 7.295307202992262] 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.45138635199691635 0.47994325899999996 0.14825412199999996 Calling exit ...