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.001752/0.001752, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002186/0.002186, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.686/1.686, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.003173/0.003173, allocations: 71.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3644, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007941/0.3723, allocations: 6.128 MB / 438.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.3759, allocations: 1.56 MB / 439.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004448/0.3763, allocations: 16 kB / 439.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.3768, allocations: 174.2 kB / 439.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005936/0.3774, allocations: 297.2 kB / 440.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008649/0.3782, allocations: 411.3 kB / 440.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.3797, allocations: 1.395 MB / 442 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.3801, allocations: 301.3 kB / 442.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.3809, allocations: 0.4946 MB / 442.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.3816, allocations: 0.564 MB / 443.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.3818, allocations: 136 kB / 443.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.3821, allocations: 184 kB / 443.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.3824, allocations: 279.1 kB / 444 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005932/0.383, allocations: 0.5834 MB / 444.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.3846, allocations: 1.551 MB / 446.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3846, allocations: 0 / 446.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3846, allocations: 0 / 446.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.3847, allocations: 0 / 446.1 MB, free: 9.254 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.00285/0.3875, allocations: 1.405 MB / 447.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3875, allocations: 16.03 kB / 447.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.3879, allocations: 128.2 kB / 447.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009658/0.3889, allocations: 0.5698 MB / 448.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.389, allocations: 62.38 kB / 448.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.3891, allocations: 88.38 kB / 448.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.3908, allocations: 0.8588 MB / 449.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.3908, allocations: 0 / 449.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.3909, allocations: 36 kB / 449.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.3909, allocations: 20 kB / 449.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.3927, allocations: 0.855 MB / 450.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.3985, allocations: 3.227 MB / 453.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3996, allocations: 0.6252 MB / 454 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.4004, allocations: 391.1 kB / 454.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.016e-05/0.4004, allocations: 16.53 kB / 454.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.4005, allocations: 47.12 kB / 454.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.344e-06/0.4005, allocations: 0 / 454.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004783/0.4052, allocations: 2.273 MB / 456.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4053, allocations: 56.06 kB / 456.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007679/0.4061, allocations: 0.6096 MB / 457.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.4061, allocations: 33.7 kB / 457.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.4065, allocations: 448.3 kB / 457.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.4067, allocations: 281.7 kB / 458.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.407, allocations: 150.5 kB / 458.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.4072, allocations: 382.8 kB / 458.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007107/0.4079, allocations: 325.9 kB / 458.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/0.4088, allocations: 476.5 kB / 459.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4103, allocations: 0.8008 MB / 460.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4103, allocations: 4 kB / 460.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002326/0.4127, allocations: 1.115 MB / 461.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.4127, allocations: 8.062 kB / 461.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4127, allocations: 4 kB / 461.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008097/0.4135, allocations: 187.5 kB / 461.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/0.4144, allocations: 203.7 kB / 461.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.4187, allocations: 2.881 MB / 464.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008735/0.4196, allocations: 36.05 kB / 464.6 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.4197, allocations: 35.98 kB / 464.7 MB, free: 6.082 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.0005232/0.4202, allocations: 237.5 kB / 464.9 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.4204, allocations: 87.42 kB / 465 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.4205, allocations: 95.25 kB / 465.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.4206, allocations: 8 kB / 465.1 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.4206, allocations: 4 kB / 465.1 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.4206, allocations: 3.984 kB / 465.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.4219, allocations: 0.8963 MB / 466 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4219, allocations: 0 / 466 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.4227, allocations: 144 kB / 466.1 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005576/0.4232, allocations: 180.7 kB / 466.3 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.4233, allocations: 23.98 kB / 466.3 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.4277, allocations: 2.896 MB / 469.2 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4277, allocations: 0 / 469.2 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.4307, allocations: 1.432 MB / 470.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.4309, allocations: 152.6 kB / 470.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.431, allocations: 12 kB / 470.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/0.4316, allocations: 55.95 kB / 470.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.4319, allocations: 52.58 kB / 470.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.4319, allocations: 23.98 kB / 471 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006119/0.4326, allocations: 427.1 kB / 471.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4326, allocations: 0 / 471.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009623/0.4335, allocations: 240 kB / 471.6 MB, free: 14.91 MB / 382.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.0003034/0.4338, allocations: 146.1 kB / 471.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.4364, allocations: 0.9946 MB / 472.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.4364, allocations: 8.188 kB / 472.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.4378, allocations: 0.6111 MB / 473.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/0.4386, allocations: 147.1 kB / 473.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.4424, allocations: 2.017 MB / 475.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/0.4432, allocations: 0.9853 MB / 476.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.4436, allocations: 93.41 kB / 476.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.4438, allocations: 55.42 kB / 476.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4438, allocations: 0 / 476.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02433/0.4681, allocations: 11.63 MB / 488.3 MB, free: 14.26 MB / 398.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 -s cvode -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: 5.402207649778575] 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.47921260399743915 0.49164985200000005 0.103945903 Calling exit ...