Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009875/0.0009874, allocations: 97.47 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 208.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002411, allocations: 4 kB / 306.7 MB, free: 1.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 51.49 MB / 358.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002035/0.1275, allocations: 1.705 MB / 359.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008605/0.1283, allocations: 0.5575 MB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.1284, allocations: 4 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.1285, allocations: 19.84 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1286, allocations: 67.84 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1288, allocations: 35.95 kB / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.1291, allocations: 159.7 kB / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1292, allocations: 61.83 kB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1293, allocations: 67.78 kB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1295, allocations: 83.67 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1295, allocations: 15.94 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.864e-05/0.1295, allocations: 12 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.1296, allocations: 35.89 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.1296, allocations: 61.58 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1298, allocations: 167.8 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1298, allocations: 0 / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1298, allocations: 7.938 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1298, allocations: 0 / 361.2 MB, free: 10.93 MB / 302.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.0006692/0.1305, allocations: 474.6 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1306, allocations: 8.031 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.954e-05/0.1306, allocations: 54.48 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.1307, allocations: 23.8 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1309, allocations: 206.8 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1309, allocations: 12 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.131, allocations: 23.95 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.1313, allocations: 181.5 kB / 362.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1314, allocations: 0 / 362.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1314, allocations: 15.98 kB / 362.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1314, allocations: 4 kB / 362.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.1317, allocations: 147.8 kB / 362.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1329, allocations: 0.7585 MB / 363.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.1333, allocations: 170.6 kB / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1333, allocations: 8 kB / 363.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1334, allocations: 30.56 kB / 363.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1334, allocations: 0 / 363.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004738/0.1339, allocations: 201.6 kB / 363.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1339, allocations: 59.41 kB / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1341, allocations: 149.4 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1341, allocations: 25.7 kB / 363.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1343, allocations: 136.2 kB / 363.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.1343, allocations: 47.34 kB / 363.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.1343, allocations: 0 / 363.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1345, allocations: 330.8 kB / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1346, allocations: 59.97 kB / 364.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1348, allocations: 72.78 kB / 364.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1349, allocations: 63.89 kB / 364.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.135, allocations: 7.938 kB / 364.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003557/0.1353, allocations: 183.8 kB / 364.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1353, allocations: 8 kB / 364.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1354, allocations: 0 / 364.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1354, allocations: 3.984 kB / 364.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.1356, allocations: 51.91 kB / 364.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1356, allocations: 0 / 364.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1358, allocations: 27.77 kB / 364.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1358, allocations: 4 kB / 364.7 MB, free: 7.195 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.1359, allocations: 125.8 kB / 364.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.1359, allocations: 7.906 kB / 364.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.136, allocations: 16.84 kB / 364.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.136, allocations: 4 kB / 364.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.136, allocations: 11.94 kB / 364.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.136, allocations: 0 / 364.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.1363, allocations: 269.4 kB / 365.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1363, allocations: 3.938 kB / 365.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.1366, allocations: 31.98 kB / 365.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.1366, allocations: 4 kB / 365.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1366, allocations: 0 / 365.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.1366, allocations: 3.984 kB / 365.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1366, allocations: 0 / 365.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.1371, allocations: 318.8 kB / 365.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.1372, allocations: 88.92 kB / 365.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1372, allocations: 7.938 kB / 365.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1374, allocations: 20.03 kB / 365.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.1374, allocations: 7.984 kB / 365.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.1375, allocations: 0 / 365.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.147e-05/0.1375, allocations: 115.8 kB / 365.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1376, allocations: 0 / 365.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1378, allocations: 51.8 kB / 365.8 MB, free: 6.035 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007943/0.1387, allocations: 0.8434 MB / 366.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.139, allocations: 128 kB / 366.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.139, allocations: 3.938 kB / 366.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1391, allocations: 71.97 kB / 366.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1394, allocations: 19.98 kB / 366.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1413, allocations: 1.343 MB / 368.2 MB, free: 3.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1417, allocations: 0.7282 MB / 368.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.171e-05/0.1418, allocations: 13.42 kB / 368.9 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.1418, allocations: 43.42 kB / 369 MB, free: 2.738 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1418, allocations: 4 kB / 369 MB, free: 2.734 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2201/0.3619, allocations: 2.928 MB / 371.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.3622, allocations: 187 kB / 372.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.33, allocations: 0.875 kB / 372.1 MB, free: 18.8 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat