Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001796/0.001796, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00223/0.00223, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 59.91 kB / 378.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.338, allocations: 53.4 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007693/0.3457, allocations: 6.117 MB / 438.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.349, allocations: 1.579 MB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000548/0.3495, allocations: 19.94 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.3499, allocations: 166.3 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000619/0.3506, allocations: 297.2 kB / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.3515, allocations: 415.4 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.353, allocations: 1.399 MB / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004838/0.3535, allocations: 297.7 kB / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/0.3542, allocations: 0.5023 MB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007338/0.355, allocations: 0.5757 MB / 443.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.3551, allocations: 136 kB / 443.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.3555, allocations: 176 kB / 443.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.3557, allocations: 275.2 kB / 443.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.3562, allocations: 0.5911 MB / 444.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.3579, allocations: 1.545 MB / 446 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3579, allocations: 4 kB / 446 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3579, allocations: 0 / 446 MB, free: 8.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.358, allocations: 0 / 446 MB, free: 8.547 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.002699/0.3607, allocations: 1.334 MB / 447.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3607, allocations: 8.031 kB / 447.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.072e-05/0.3607, allocations: 34.19 kB / 447.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.3609, allocations: 135.6 kB / 447.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.3613, allocations: 132.2 kB / 447.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.3622, allocations: 0.4978 MB / 448.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.3622, allocations: 62.38 kB / 448.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.3624, allocations: 96.38 kB / 448.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.364, allocations: 0.8506 MB / 449.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.364, allocations: 4 kB / 449.2 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.301e-05/0.3641, allocations: 36 kB / 449.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.3642, allocations: 20 kB / 449.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.3659, allocations: 0.8511 MB / 450.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005584/0.3714, allocations: 3.146 MB / 453.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.3726, allocations: 0.6406 MB / 453.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.3733, allocations: 395 kB / 454.3 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/0.3733, allocations: 16.66 kB / 454.3 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.3734, allocations: 39.22 kB / 454.3 MB, free: 52 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.525e-06/0.3734, allocations: 0 / 454.3 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004929/0.3783, allocations: 2.198 MB / 456.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.3784, allocations: 60.06 kB / 456.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008311/0.3792, allocations: 0.6058 MB / 457.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/0.3793, allocations: 37.7 kB / 457.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.3797, allocations: 460.3 kB / 457.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.3799, allocations: 265.7 kB / 457.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.3802, allocations: 150.5 kB / 458.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3804, allocations: 390.7 kB / 458.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/0.381, allocations: 325.9 kB / 458.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007666/0.3818, allocations: 468.5 kB / 459.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.3832, allocations: 0.8086 MB / 460 MB, free: 10.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3832, allocations: 0 / 460 MB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002242/0.3854, allocations: 1.126 MB / 461.2 MB, free: 9.012 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3855, allocations: 4 kB / 461.2 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3855, allocations: 4 kB / 461.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/0.386, allocations: 183.2 kB / 461.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/0.3869, allocations: 199.8 kB / 461.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.3907, allocations: 2.78 MB / 464.3 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/0.3915, allocations: 32.17 kB / 464.4 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.3916, allocations: 39.98 kB / 464.4 MB, free: 5.672 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.0003986/0.392, allocations: 237.6 kB / 464.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3921, allocations: 83.48 kB / 464.7 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.3923, allocations: 91.27 kB / 464.8 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3923, allocations: 8 kB / 464.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.3923, allocations: 4 kB / 464.8 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3923, allocations: 7.984 kB / 464.8 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.3934, allocations: 0.8642 MB / 465.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3934, allocations: 4 kB / 465.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007118/0.3941, allocations: 143.8 kB / 465.8 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.3947, allocations: 176.7 kB / 466 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.3947, allocations: 19.98 kB / 466 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003712/0.3984, allocations: 2.787 MB / 468.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3984, allocations: 4 kB / 468.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.4011, allocations: 1.431 MB / 470.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.4013, allocations: 75.66 kB / 470.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4014, allocations: 19.98 kB / 470.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/0.402, allocations: 51.91 kB / 470.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.4022, allocations: 60.53 kB / 470.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.4022, allocations: 27.98 kB / 470.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005623/0.4028, allocations: 423.1 kB / 470.9 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4028, allocations: 0 / 470.9 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008767/0.4037, allocations: 243.9 kB / 471.1 MB, free: 14.76 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.003118/0.4068, allocations: 1.996 MB / 473.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.4093, allocations: 0.994 MB / 474.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4093, allocations: 0 / 474.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.4108, allocations: 0.6197 MB / 474.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009974/0.4118, allocations: 143.2 kB / 474.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.4256, allocations: 7.456 MB / 482.3 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008493/0.4265, allocations: 0.9775 MB / 483.3 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000498/0.427, allocations: 93.45 kB / 483.4 MB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.4275, allocations: 319.3 kB / 483.7 MB, free: 1.855 MB / 382.1 MB Notification: Performance of SimCode: time 2.124e-06/0.4275, allocations: 11.88 kB / 483.7 MB, free: 1.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07921/0.5067, allocations: 19.77 MB / 0.4917 GB, free: 14.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.1, allocations: 18.44 kB / 0.4917 GB, free: 14.3 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier_fmu --startTime=0 --stopTime=1e-08 --stepSize=1.9988e-12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.71591864497168] 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'] 13.274817642988637 13.299000882 12.93586077 Calling exit ...