Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001364/0.001364, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001385/0.001385, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.493/1.493, 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.ChuaCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit",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.001981/0.001981, allocations: 71.84 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1197, allocations: 53.33 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003586/0.1233, allocations: 2.158 MB / 429.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1243, allocations: 0.5766 MB / 429.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.1244, allocations: 4 kB / 429.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.1245, allocations: 35.7 kB / 429.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1246, allocations: 47.5 kB / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1248, allocations: 63.86 kB / 429.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1251, allocations: 231 kB / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1253, allocations: 61.64 kB / 430.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1254, allocations: 83.77 kB / 430.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1256, allocations: 99.59 kB / 430.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.1256, allocations: 31.94 kB / 430.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.372e-05/0.1256, allocations: 20 kB / 430.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.1257, allocations: 39.91 kB / 430.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1258, allocations: 107.5 kB / 430.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.1261, allocations: 235.1 kB / 430.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1261, allocations: 0 / 430.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1261, allocations: 0 / 430.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.1261, allocations: 0 / 430.8 MB, free: 0.9922 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008241/0.1269, allocations: 0.4908 MB / 431.3 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.127, allocations: 8.031 kB / 431.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.357e-05/0.1271, allocations: 54.73 kB / 431.3 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.1271, allocations: 20.8 kB / 431.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.1274, allocations: 228 kB / 431.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.1274, allocations: 12.38 kB / 431.6 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.1275, allocations: 20.38 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1973/0.3247, allocations: 180.1 kB / 431.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3248, allocations: 0.5156 kB / 431.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.3248, allocations: 6.125 kB / 431.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3248, allocations: 5.156 kB / 431.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.3252, allocations: 142.3 kB / 431.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3263, allocations: 0.744 MB / 432.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.3268, allocations: 151.9 kB / 432.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3269, allocations: 87.27 kB / 432.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.327, allocations: 2.781 kB / 432.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.327, allocations: 36.78 kB / 433 MB, free: 8.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.327, allocations: 0 / 433 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004572/0.3274, allocations: 186.9 kB / 433.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.3275, allocations: 54.59 kB / 433.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3276, allocations: 156.3 kB / 433.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.3276, allocations: 28.95 kB / 433.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.3277, allocations: 131.6 kB / 433.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3277, allocations: 52.94 kB / 433.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.3278, allocations: 36.94 kB / 433.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.3278, allocations: 325.4 kB / 433.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3279, allocations: 49.62 kB / 434 MB, free: 8.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3281, allocations: 74.97 kB / 434 MB, free: 8.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.3283, allocations: 119.8 kB / 434.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3283, allocations: 2.484 kB / 434.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003378/0.3286, allocations: 179.9 kB / 434.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3286, allocations: 8.969 kB / 434.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3286, allocations: 4.656 kB / 434.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3287, allocations: 1.031 kB / 434.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.3289, allocations: 45.06 kB / 434.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3289, allocations: 1.094 kB / 434.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/0.329, allocations: 22.95 kB / 434.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.329, allocations: 3.344 kB / 434.4 MB, free: 8.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.594e-05/0.3291, allocations: 126.4 kB / 434.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.3291, allocations: 23.84 kB / 434.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.3291, allocations: 13.88 kB / 434.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3291, allocations: 4.656 kB / 434.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3291, allocations: 1.031 kB / 434.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3291, allocations: 1.266 kB / 434.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.3294, allocations: 264 kB / 434.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3294, allocations: 3.938 kB / 434.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.3296, allocations: 34.42 kB / 434.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3297, allocations: 2.703 kB / 434.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3297, allocations: 4.469 kB / 434.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3297, allocations: 5.688 kB / 434.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3297, allocations: 0.6875 kB / 434.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.3301, allocations: 303.2 kB / 435.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.3301, allocations: 92.08 kB / 435.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.3301, allocations: 6.516 kB / 435.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.3303, allocations: 14.94 kB / 435.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3304, allocations: 7.188 kB / 435.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3304, allocations: 6.406 kB / 435.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.868e-05/0.3304, allocations: 114.7 kB / 435.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3304, allocations: 0 / 435.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3307, allocations: 53.64 kB / 435.5 MB, free: 7.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006201/0.3313, allocations: 0.8314 MB / 436.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.3316, allocations: 120.1 kB / 436.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3316, allocations: 0 / 436.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.3317, allocations: 59.16 kB / 436.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3321, allocations: 33.28 kB / 436.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.3344, allocations: 2.068 MB / 438.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.3345, allocations: 0.7283 MB / 439.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.3346, allocations: 10.02 kB / 439.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3347, allocations: 46.2 kB / 439.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3347, allocations: 4 kB / 439.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.3645, allocations: 3.433 MB / 442.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.579, allocations: 2.062 kB / 442.8 MB, free: 4.289 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv --start-time 0 --stop-time 50000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.070338000077754] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'L.i'] 8.646440740674734 8.666040048 8.535316629 Calling exit ...