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.001319/0.001319, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001458/0.001458, allocations: 209.7 kB / 24.54 MB, free: 4.055 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001998/0.001998, allocations: 64.55 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3034, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003826/0.3072, allocations: 2.183 MB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3084, allocations: 0.5727 MB / 434.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.3085, allocations: 7.875 kB / 434.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.3087, allocations: 31.7 kB / 434.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.3088, allocations: 55.48 kB / 434.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.309, allocations: 59.92 kB / 434.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.3094, allocations: 227.1 kB / 435.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.3096, allocations: 61.77 kB / 435.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.3097, allocations: 95.64 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.3099, allocations: 99.61 kB / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.31, allocations: 20 kB / 435.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.333e-05/0.31, allocations: 20 kB / 435.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.3101, allocations: 47.84 kB / 435.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.3102, allocations: 95.59 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.3106, allocations: 235.9 kB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3106, allocations: 0 / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3106, allocations: 0 / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3106, allocations: 4 kB / 435.7 MB, free: 3.078 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.0008073/0.3114, allocations: 429.4 kB / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3114, allocations: 8.031 kB / 436.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.93e-05/0.3115, allocations: 54.73 kB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.3116, allocations: 20.8 kB / 436.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.3119, allocations: 170.2 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3119, allocations: 16.38 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.3119, allocations: 20.31 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.3123, allocations: 181.7 kB / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3123, allocations: 4 kB / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3124, allocations: 8 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3124, allocations: 4 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.3127, allocations: 143.9 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.314, allocations: 0.6954 MB / 437.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.3144, allocations: 154.5 kB / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.3146, allocations: 88.81 kB / 437.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3146, allocations: 3.984 kB / 437.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.3147, allocations: 38.5 kB / 437.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.3147, allocations: 4 kB / 437.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005144/0.3152, allocations: 188.3 kB / 437.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.3152, allocations: 63.28 kB / 438 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3154, allocations: 148.4 kB / 438.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3154, allocations: 33.7 kB / 438.2 MB, free: 468 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.3155, allocations: 136.2 kB / 438.3 MB, free: 328 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.3156, allocations: 47.56 kB / 438.3 MB, free: 280 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.3157, allocations: 41.7 kB / 438.4 MB, free: 232 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3158, allocations: 318.8 kB / 438.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.316, allocations: 55.92 kB / 438.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3161, allocations: 69.69 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.3164, allocations: 121.7 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3164, allocations: 0 / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000358/0.3167, allocations: 180.1 kB / 439.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3167, allocations: 4 kB / 439.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3167, allocations: 3.938 kB / 439.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3168, allocations: 4 kB / 439.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.317, allocations: 43.91 kB / 439.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.317, allocations: 4.031 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3171, allocations: 19.89 kB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3171, allocations: 4 kB / 439.2 MB, free: 15.39 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 0.0001304/0.3172, allocations: 121.8 kB / 439.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.3173, allocations: 15.91 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.3173, allocations: 24.7 kB / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3173, allocations: 0 / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3173, allocations: 0 / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3173, allocations: 0 / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.3176, allocations: 240.6 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3176, allocations: 4 kB / 439.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.3178, allocations: 39.91 kB / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3178, allocations: 0 / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3179, allocations: 7.938 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3179, allocations: 0 / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3179, allocations: 8 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.3184, allocations: 299.4 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.3184, allocations: 11.95 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3184, allocations: 7.922 kB / 440 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.3186, allocations: 15.94 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.3186, allocations: 11.97 kB / 440 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.3186, allocations: 3.938 kB / 440 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.3187, allocations: 114.3 kB / 440.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3187, allocations: 7.938 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.319, allocations: 47.89 kB / 440.1 MB, free: 14.36 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.0007955/0.3198, allocations: 0.8275 MB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.3201, allocations: 124 kB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3201, allocations: 4 kB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3202, allocations: 55.91 kB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3206, allocations: 23.98 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.3233, allocations: 2.067 MB / 443.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3237, allocations: 0.724 MB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.726e-05/0.3238, allocations: 9.438 kB / 444 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.523e-05/0.3239, allocations: 47.42 kB / 444 MB, free: 10.35 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3239, allocations: 4 kB / 444 MB, free: 10.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.3547, allocations: 3.488 MB / 447.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.538, allocations: 64 / 447.5 MB, free: 6.965 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 & /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 --stepSize=1 --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: 10.896881334949285] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'L.i'] 8.612797044683248 8.642998559 8.32694318 Calling exit ...