Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 119 kB / 17.78 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 193.2 kB / 20.73 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 51.91 kB / 365.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 52.13 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007387/0.1108, allocations: 6.09 MB / 423.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1142, allocations: 1.517 MB / 425.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000746/0.1149, allocations: 19.94 kB / 425.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.1154, allocations: 174.3 kB / 425.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006924/0.1161, allocations: 297.2 kB / 425.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.117, allocations: 411.4 kB / 426.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.1186, allocations: 1.391 MB / 427.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.119, allocations: 301.3 kB / 428 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.1197, allocations: 0.5023 MB / 428.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.1204, allocations: 0.5719 MB / 429 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.1206, allocations: 136 kB / 429.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.1209, allocations: 171.9 kB / 429.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.1211, allocations: 271.1 kB / 429.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.1217, allocations: 0.5911 MB / 430.2 MB, free: 108 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.1234, allocations: 1.537 MB / 431.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1234, allocations: 0 / 431.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1234, allocations: 0 / 431.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.1234, allocations: 0 / 431.7 MB, free: 14.56 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.002838/0.1263, allocations: 1.412 MB / 433.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1263, allocations: 12.03 kB / 433.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.1265, allocations: 143.6 kB / 433.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.1267, allocations: 120.2 kB / 433.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.1275, allocations: 0.5543 MB / 434 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.1275, allocations: 66.38 kB / 434 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.1277, allocations: 92.33 kB / 434.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.1293, allocations: 0.8547 MB / 435 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.1293, allocations: 0 / 435 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.1294, allocations: 40 kB / 435 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.1294, allocations: 20 kB / 435 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.1311, allocations: 0.855 MB / 435.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005617/0.1367, allocations: 3.231 MB / 439.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.1379, allocations: 0.6255 MB / 439.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/0.1386, allocations: 399.1 kB / 440.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.13e-05/0.1387, allocations: 8.562 kB / 440.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.1387, allocations: 43.12 kB / 440.2 MB, free: 5.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.335e-06/0.1387, allocations: 4 kB / 440.2 MB, free: 5.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.004867/0.1436, allocations: 2.276 MB / 442.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.1437, allocations: 60.06 kB / 442.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008155/0.1445, allocations: 0.6096 MB / 443.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.1445, allocations: 41.7 kB / 443.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.1449, allocations: 448.2 kB / 443.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.1452, allocations: 273.7 kB / 443.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.1455, allocations: 150.6 kB / 444 MB, free: 1.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1457, allocations: 386.7 kB / 444.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/0.1463, allocations: 321.9 kB / 444.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007814/0.1471, allocations: 468.6 kB / 445.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1996/0.3467, allocations: 0.8037 MB / 446 MB, free: 29.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.3467, allocations: 0.875 kB / 446 MB, free: 29.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002372/0.3491, allocations: 1.113 MB / 447.1 MB, free: 29.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3491, allocations: 5.625 kB / 447.1 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3491, allocations: 3.875 kB / 447.1 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.3497, allocations: 190.9 kB / 447.3 MB, free: 29.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008403/0.3505, allocations: 198.1 kB / 447.5 MB, free: 29.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.3538, allocations: 2.884 MB / 450.4 MB, free: 27.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.3545, allocations: 42.06 kB / 450.4 MB, free: 27.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.3545, allocations: 34.95 kB / 450.5 MB, free: 27.52 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.0003216/0.3548, allocations: 230.6 kB / 450.7 MB, free: 27.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.355, allocations: 83.94 kB / 450.8 MB, free: 27.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.3551, allocations: 95.89 kB / 450.9 MB, free: 27.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3551, allocations: 8.25 kB / 450.9 MB, free: 27.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.3552, allocations: 3.719 kB / 450.9 MB, free: 27.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3552, allocations: 6.547 kB / 450.9 MB, free: 27.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009387/0.3561, allocations: 0.8819 MB / 451.8 MB, free: 27.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3561, allocations: 0.6562 kB / 451.8 MB, free: 27.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/0.3568, allocations: 147.8 kB / 451.9 MB, free: 27.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005601/0.3574, allocations: 186.7 kB / 452.1 MB, free: 27.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.3575, allocations: 21.11 kB / 452.1 MB, free: 27.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003312/0.3608, allocations: 2.907 MB / 455 MB, free: 25.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3608, allocations: 1.188 kB / 455 MB, free: 25.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.3636, allocations: 1.425 MB / 456.4 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.3638, allocations: 151.8 kB / 456.6 MB, free: 24.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/0.3639, allocations: 12.89 kB / 456.6 MB, free: 24.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/0.3645, allocations: 60.75 kB / 456.7 MB, free: 24.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.3647, allocations: 58.03 kB / 456.7 MB, free: 24.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.3647, allocations: 23.03 kB / 456.7 MB, free: 24.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005251/0.3652, allocations: 428.7 kB / 457.2 MB, free: 23.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3652, allocations: 2.531 kB / 457.2 MB, free: 23.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008973/0.3661, allocations: 240.2 kB / 457.4 MB, free: 23.95 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.002811/0.3689, allocations: 1.998 MB / 459.4 MB, free: 22.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.3712, allocations: 1.003 MB / 460.4 MB, free: 22.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3712, allocations: 1.469 kB / 460.4 MB, free: 22.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.3725, allocations: 0.6108 MB / 461 MB, free: 22.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00078/0.3733, allocations: 147.6 kB / 461.1 MB, free: 21.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.3852, allocations: 7.446 MB / 468.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.3858, allocations: 0.9819 MB / 469.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005485/0.3864, allocations: 89.5 kB / 469.7 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.3868, allocations: 323.4 kB / 470 MB, free: 16.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.853e-06/0.3868, allocations: 0 / 470 MB, free: 16.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.439, allocations: 19.14 MB / 489.1 MB, free: 5.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.34, allocations: 15.86 kB / 489.1 MB, free: 5.473 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.355304887052625] 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.49348351592198 12.505346604 12.378944249 Calling exit ...