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.00134/0.00134, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001374/0.001374, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.456/1.456, allocations: 230.5 MB / 254.8 MB, free: 15.11 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [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.002457/0.002457, allocations: 75.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.117, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.2254/0.3424, allocations: 6.117 MB / 433.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.3449, allocations: 1.557 MB / 434.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.3453, allocations: 25.53 kB / 434.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.3456, allocations: 172.3 kB / 434.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.3461, allocations: 293.9 kB / 435.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.3468, allocations: 413.9 kB / 435.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3479, allocations: 1.391 MB / 437 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.3483, allocations: 303.6 kB / 437.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006437/0.349, allocations: 0.5055 MB / 437.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.3495, allocations: 0.5665 MB / 438.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.3498, allocations: 134.8 kB / 438.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.3501, allocations: 181.2 kB / 438.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.3503, allocations: 276.5 kB / 438.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004943/0.3508, allocations: 0.5893 MB / 439.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.3525, allocations: 1.544 MB / 441.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3525, allocations: 0 / 441.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3525, allocations: 1.312 kB / 441.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.3526, allocations: 0.6094 kB / 441.1 MB, free: 5.059 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.002599/0.3552, allocations: 1.409 MB / 442.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3552, allocations: 10.36 kB / 442.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.3554, allocations: 137.6 kB / 442.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.3557, allocations: 129.6 kB / 442.7 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.3564, allocations: 0.5651 MB / 443.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.3565, allocations: 65.55 kB / 443.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.3566, allocations: 90.58 kB / 443.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.3583, allocations: 0.858 MB / 444.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3583, allocations: 0 / 444.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/0.3584, allocations: 41.5 kB / 444.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.3584, allocations: 20.62 kB / 444.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.3601, allocations: 0.8566 MB / 445.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005361/0.3655, allocations: 3.221 MB / 448.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.3665, allocations: 0.625 MB / 449.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.3672, allocations: 393.5 kB / 449.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.989e-05/0.3673, allocations: 16.59 kB / 449.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3673, allocations: 39.73 kB / 449.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.355e-06/0.3673, allocations: 5.219 kB / 449.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005227/0.3726, allocations: 2.273 MB / 451.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.3726, allocations: 60.22 kB / 451.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/0.3735, allocations: 0.6084 MB / 452.5 MB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/0.3736, allocations: 37.83 kB / 452.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.374, allocations: 452.3 kB / 452.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.3743, allocations: 271.7 kB / 453.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.3746, allocations: 147.4 kB / 453.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000341/0.3749, allocations: 385.4 kB / 453.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000704/0.3756, allocations: 331.1 kB / 454 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009501/0.3766, allocations: 470.6 kB / 454.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.3781, allocations: 0.801 MB / 455.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3781, allocations: 1.281 kB / 455.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002407/0.3805, allocations: 1.114 MB / 456.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3805, allocations: 6.719 kB / 456.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3805, allocations: 3.812 kB / 456.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.3811, allocations: 193.8 kB / 456.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.382, allocations: 198.3 kB / 456.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/0.3861, allocations: 2.885 MB / 459.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008428/0.387, allocations: 32.39 kB / 459.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.743e-05/0.3871, allocations: 41.69 kB / 459.8 MB, free: 10.26 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.0004637/0.3875, allocations: 229.2 kB / 460 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3877, allocations: 91.73 kB / 460.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.3879, allocations: 93.41 kB / 460.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.3879, allocations: 8.531 kB / 460.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.3879, allocations: 2.375 kB / 460.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3879, allocations: 3.984 kB / 460.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3892, allocations: 0.8888 MB / 461.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3892, allocations: 5.75 kB / 461.1 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.3899, allocations: 144.4 kB / 461.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005434/0.3904, allocations: 181.1 kB / 461.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.3905, allocations: 22.42 kB / 461.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/0.3947, allocations: 2.894 MB / 464.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3947, allocations: 1.188 kB / 464.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.3977, allocations: 1.427 MB / 465.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.3979, allocations: 152 kB / 465.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.398, allocations: 11.06 kB / 465.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.3987, allocations: 53.14 kB / 466 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.3988, allocations: 57.89 kB / 466 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.3988, allocations: 22.64 kB / 466 MB, free: 5.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005974/0.3994, allocations: 429.1 kB / 466.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3994, allocations: 0 / 466.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009824/0.4004, allocations: 240.2 kB / 466.7 MB, free: 5.383 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.003292/0.4037, allocations: 2.007 MB / 468.7 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.4061, allocations: 0.9885 MB / 469.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4061, allocations: 1.188 kB / 469.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.4075, allocations: 0.6214 MB / 470.3 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008563/0.4084, allocations: 144.1 kB / 470.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.4216, allocations: 7.465 MB / 477.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.4223, allocations: 0.9814 MB / 478.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004951/0.4228, allocations: 90.55 kB / 479 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/0.4234, allocations: 323.3 kB / 479.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4234, allocations: 0 / 479.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/0.4804, allocations: 19.16 MB / 498.5 MB, free: 8.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.93, allocations: 4 kB / 498.5 MB, free: 8.625 MB / 398.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv --start-time 0 --stop-time 1e-08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-12 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.484185385052115] 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'] 12.030147755984217 12.056165924 11.698596556 Calling exit ...