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.001425/0.001425, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001657/0.001657, allocations: 216.5 kB / 22.92 MB, free: 5.527 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.283/1.283, allocations: 230.5 MB / 256.4 MB, free: 8.422 MB / 206.1 MB " [Timeout remaining time 179] 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.001754/0.001754, allocations: 71.83 kB / 376.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2122, allocations: 53.31 MB / 429.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002976/0.2152, allocations: 2.179 MB / 431.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008786/0.2161, allocations: 0.5765 MB / 432.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-05/0.2161, allocations: 0 / 432.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.2163, allocations: 31.7 kB / 432.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.2164, allocations: 59.42 kB / 432.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2165, allocations: 51.94 kB / 432.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.2168, allocations: 231.1 kB / 432.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2169, allocations: 65.59 kB / 432.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.217, allocations: 95.69 kB / 432.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2171, allocations: 91.61 kB / 432.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.2172, allocations: 24 kB / 432.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.813e-05/0.2172, allocations: 20 kB / 432.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.2173, allocations: 43.84 kB / 432.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.2174, allocations: 95.59 kB / 433 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.2176, allocations: 239.5 kB / 433.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2176, allocations: 0 / 433.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2176, allocations: 0 / 433.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2176, allocations: 3.984 kB / 433.2 MB, free: 3.617 MB / 334.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.0006813/0.2183, allocations: 498.6 kB / 433.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2183, allocations: 8.031 kB / 433.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.2184, allocations: 58.67 kB / 433.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.2184, allocations: 20.8 kB / 433.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.2187, allocations: 227.9 kB / 434 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2187, allocations: 20.38 kB / 434 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.2187, allocations: 16.38 kB / 434 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.2191, allocations: 181.7 kB / 434.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2191, allocations: 4 kB / 434.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.2191, allocations: 4 kB / 434.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2191, allocations: 4 kB / 434.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.2194, allocations: 143.9 kB / 434.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2205, allocations: 0.7354 MB / 435.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.2209, allocations: 158.5 kB / 435.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.221, allocations: 88.83 kB / 435.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.221, allocations: 0 / 435.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2211, allocations: 42.55 kB / 435.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.21e-07/0.2211, allocations: 0 / 435.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004398/0.2215, allocations: 192.5 kB / 435.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.2216, allocations: 59.33 kB / 435.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2217, allocations: 148.3 kB / 435.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2217, allocations: 25.7 kB / 435.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.2218, allocations: 140.2 kB / 435.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.2218, allocations: 55.58 kB / 436 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.2219, allocations: 37.7 kB / 436 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.222, allocations: 322.8 kB / 436.3 MB, free: 244 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.2221, allocations: 51.94 kB / 436.4 MB, free: 192 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.2222, allocations: 76.77 kB / 436.5 MB, free: 112 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.2225, allocations: 117.8 kB / 436.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2225, allocations: 7.938 kB / 436.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003156/0.2228, allocations: 176.6 kB / 436.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.2228, allocations: 4 kB / 436.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2228, allocations: 7.922 kB / 436.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2228, allocations: 4 kB / 436.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.223, allocations: 39.92 kB / 436.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.223, allocations: 4.031 kB / 436.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2231, allocations: 19.88 kB / 436.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2232, allocations: 4 kB / 436.8 MB, free: 15.72 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 9.437e-05/0.2233, allocations: 121.8 kB / 437 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.2233, allocations: 15.91 kB / 437 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.2233, allocations: 20.78 kB / 437 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2233, allocations: 11.92 kB / 437 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2233, allocations: 0 / 437 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2233, allocations: 4 kB / 437 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.2236, allocations: 257.5 kB / 437.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2236, allocations: 0 / 437.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.2238, allocations: 35.98 kB / 437.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2238, allocations: 4 kB / 437.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2238, allocations: 3.938 kB / 437.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2238, allocations: 3.984 kB / 437.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2238, allocations: 0 / 437.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.2243, allocations: 307.3 kB / 437.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.2243, allocations: 93.02 kB / 437.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2243, allocations: 3.938 kB / 437.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2245, allocations: 16.03 kB / 437.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.2245, allocations: 7.984 kB / 437.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2245, allocations: 4 kB / 437.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.2246, allocations: 123 kB / 437.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2246, allocations: 3.938 kB / 437.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.2249, allocations: 47.89 kB / 437.9 MB, free: 14.57 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.0006996/0.2256, allocations: 0.833 MB / 438.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.2258, allocations: 116 kB / 438.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2258, allocations: 3.938 kB / 438.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.226, allocations: 59.91 kB / 438.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.2263, allocations: 27.98 kB / 438.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.2286, allocations: 2.065 MB / 441 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2289, allocations: 0.724 MB / 441.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.229, allocations: 9.422 kB / 441.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.2291, allocations: 47.42 kB / 441.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2291, allocations: 0 / 441.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.2555, allocations: 3.409 MB / 445.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.287, allocations: 3.438 kB / 445.2 MB, free: 7.25 MB / 350.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 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: 9.43452065999736]