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.001751/0.001751, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.002147/0.002147, allocations: 209.7 kB / 21.41 MB, free: 1.66 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.464/1.464, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.001896/0.001896, allocations: 67.83 kB / 365.2 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09762, allocations: 50.55 MB / 415.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007147/0.1048, allocations: 6.084 MB / 421.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.1079, allocations: 1.544 MB / 423.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005342/0.1084, allocations: 19.94 kB / 423.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.1089, allocations: 170.3 kB / 423.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.1095, allocations: 297.2 kB / 423.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008683/0.1104, allocations: 411.4 kB / 424.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.1119, allocations: 1.395 MB / 425.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005839/0.1125, allocations: 421.2 kB / 426.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.1133, allocations: 0.4984 MB / 426.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007249/0.114, allocations: 0.5719 MB / 427.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.1142, allocations: 132 kB / 427.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.1145, allocations: 188 kB / 427.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.1148, allocations: 271.2 kB / 427.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006137/0.1154, allocations: 0.5871 MB / 428.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.1171, allocations: 1.553 MB / 429.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1171, allocations: 0 / 429.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1172, allocations: 0 / 429.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.1172, allocations: 0 / 429.9 MB, free: 15.41 MB / 366.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.002721/0.1199, allocations: 1.413 MB / 431.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.12, allocations: 8.031 kB / 431.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.1202, allocations: 139.6 kB / 431.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.1205, allocations: 128.2 kB / 431.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008573/0.1214, allocations: 0.5582 MB / 432.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.1215, allocations: 70.38 kB / 432.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.1216, allocations: 92.31 kB / 432.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.1233, allocations: 0.8508 MB / 433.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1233, allocations: 0 / 433.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-05/0.1234, allocations: 40 kB / 433.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.1234, allocations: 20 kB / 433.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.1251, allocations: 0.855 MB / 434.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.1307, allocations: 3.224 MB / 437.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.1319, allocations: 0.6677 MB / 438 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.1327, allocations: 431.1 kB / 438.4 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.622e-05/0.1328, allocations: 16.55 kB / 438.4 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.1328, allocations: 39.12 kB / 438.4 MB, free: 6.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.836e-06/0.1328, allocations: 0 / 438.4 MB, free: 6.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.004724/0.1375, allocations: 2.277 MB / 440.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1376, allocations: 60.06 kB / 440.8 MB, free: 4.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.1384, allocations: 0.6096 MB / 441.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.1384, allocations: 37.7 kB / 441.4 MB, free: 3.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.1388, allocations: 456.3 kB / 441.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.139, allocations: 269.7 kB / 442.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.1393, allocations: 146.6 kB / 442.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.1395, allocations: 390.7 kB / 442.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/0.1401, allocations: 321.9 kB / 443 MB, free: 1.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/0.1409, allocations: 472.5 kB / 443.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.1424, allocations: 0.8125 MB / 444.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1424, allocations: 0 / 444.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.1782/0.3206, allocations: 1.12 MB / 445.3 MB, free: 28.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.3207, allocations: 7.344 kB / 445.4 MB, free: 28.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.3207, allocations: 6.031 kB / 445.4 MB, free: 28.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.3212, allocations: 184.2 kB / 445.5 MB, free: 28.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/0.3221, allocations: 195 kB / 445.7 MB, free: 28.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.3252, allocations: 2.889 MB / 448.6 MB, free: 27.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.3259, allocations: 40.2 kB / 448.7 MB, free: 27.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.326, allocations: 31.67 kB / 448.7 MB, free: 27.35 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.0003318/0.3263, allocations: 231.3 kB / 448.9 MB, free: 27.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3264, allocations: 83 kB / 449 MB, free: 27.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.3266, allocations: 95.28 kB / 449.1 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3266, allocations: 6.812 kB / 449.1 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.3266, allocations: 3.031 kB / 449.1 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.3266, allocations: 6.562 kB / 449.1 MB, free: 27.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009084/0.3276, allocations: 0.8837 MB / 450 MB, free: 27.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3276, allocations: 2.156 kB / 450 MB, free: 27.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/0.3283, allocations: 149.8 kB / 450.1 MB, free: 27.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.3288, allocations: 182.4 kB / 450.3 MB, free: 27.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.3288, allocations: 20.48 kB / 450.3 MB, free: 27.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.332, allocations: 2.896 MB / 453.2 MB, free: 25.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.332, allocations: 0 / 453.2 MB, free: 25.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.3346, allocations: 1.434 MB / 454.7 MB, free: 25.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.3348, allocations: 154.3 kB / 454.8 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3349, allocations: 14.38 kB / 454.8 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.3356, allocations: 54.25 kB / 454.9 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.3357, allocations: 50.62 kB / 454.9 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.3358, allocations: 27.66 kB / 455 MB, free: 25.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006754/0.3365, allocations: 424.3 kB / 455.4 MB, free: 25.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3365, allocations: 0 / 455.4 MB, free: 25.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009281/0.3374, allocations: 248.6 kB / 455.6 MB, free: 25.13 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.0028/0.3402, allocations: 2.011 MB / 457.6 MB, free: 24.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.3425, allocations: 1.037 MB / 458.7 MB, free: 23.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3425, allocations: 1.438 kB / 458.7 MB, free: 23.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.3438, allocations: 0.6454 MB / 459.3 MB, free: 23.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.3446, allocations: 160.5 kB / 459.5 MB, free: 23.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.3561, allocations: 7.454 MB / 466.9 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.3566, allocations: 0.9818 MB / 467.9 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004966/0.3571, allocations: 90.78 kB / 468 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.3576, allocations: 323.6 kB / 468.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.174e-06/0.3576, allocations: 0 / 468.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.4053, allocations: 19.05 MB / 487.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.47, allocations: 3.938 kB / 487.4 MB, free: 8.133 MB / 366.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.9984e-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: 13.98745453695301] 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'] 11.554002218064852 11.564456025 11.44480735 Calling exit ...