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.001548/0.001548, allocations: 93.86 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002093, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002614, allocations: 12 kB / 306.8 MB, free: 1.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 51.49 MB / 358.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002009/0.1301, allocations: 1.794 MB / 360.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008106/0.1309, allocations: 0.538 MB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/0.131, allocations: 8 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1312, allocations: 31.77 kB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.1313, allocations: 43.61 kB / 360.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.1314, allocations: 35.97 kB / 360.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1316, allocations: 211 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1318, allocations: 65.81 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.1319, allocations: 71.78 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.132, allocations: 83.67 kB / 361.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1321, allocations: 12 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.881e-05/0.1321, allocations: 12 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.1322, allocations: 35.84 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.1322, allocations: 53.64 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1324, allocations: 175.8 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1324, allocations: 3.938 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1324, allocations: 0 / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1324, allocations: 0 / 361.5 MB, free: 10.58 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.0006171/0.133, allocations: 478.6 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1331, allocations: 12.03 kB / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.144e-05/0.1331, allocations: 54.48 kB / 362 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.1332, allocations: 19.81 kB / 362 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1334, allocations: 210.8 kB / 362.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1335, allocations: 12 kB / 362.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.1335, allocations: 27.95 kB / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.1338, allocations: 177.5 kB / 362.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1339, allocations: 0 / 362.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.1339, allocations: 12 kB / 362.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.1339, allocations: 4 kB / 362.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.1342, allocations: 147.9 kB / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1353, allocations: 0.7624 MB / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.1357, allocations: 170.5 kB / 363.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.1359, allocations: 100.8 kB / 363.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.1359, allocations: 0 / 363.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1359, allocations: 34.56 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.1359, allocations: 3.938 kB / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004494/0.1364, allocations: 205.6 kB / 363.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1364, allocations: 55.41 kB / 363.9 MB, free: 7.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1366, allocations: 157.3 kB / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1366, allocations: 29.7 kB / 364.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.1367, allocations: 132.2 kB / 364.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.1367, allocations: 47.36 kB / 364.3 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.1367, allocations: 4 kB / 364.3 MB, free: 7.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1368, allocations: 326.8 kB / 364.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.137, allocations: 51.97 kB / 364.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1371, allocations: 77.69 kB / 364.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1372, allocations: 59.89 kB / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1373, allocations: 0 / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003275/0.1376, allocations: 187.9 kB / 365 MB, free: 6.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1376, allocations: 4 kB / 365 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1376, allocations: 4 kB / 365 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1376, allocations: 0 / 365 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.1379, allocations: 51.86 kB / 365 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.1379, allocations: 0 / 365 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.637e-05/0.138, allocations: 23.83 kB / 365 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.138, allocations: 4 kB / 365.1 MB, free: 6.742 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.0001023/0.1381, allocations: 130.9 kB / 365.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.1381, allocations: 7.906 kB / 365.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.1382, allocations: 16.84 kB / 365.2 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1382, allocations: 7.984 kB / 365.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1382, allocations: 3.953 kB / 365.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1382, allocations: 3.984 kB / 365.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1385, allocations: 265.4 kB / 365.5 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1385, allocations: 7.984 kB / 365.5 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.1387, allocations: 39.92 kB / 365.5 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1387, allocations: 0 / 365.5 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1387, allocations: 8 kB / 365.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1387, allocations: 0 / 365.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1387, allocations: 0 / 365.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.1392, allocations: 315.3 kB / 365.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.1392, allocations: 84.92 kB / 365.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1393, allocations: 7.938 kB / 365.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1394, allocations: 16.03 kB / 365.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1395, allocations: 15.92 kB / 366 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1395, allocations: 4 kB / 366 MB, free: 5.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.184e-05/0.1396, allocations: 118.8 kB / 366.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1396, allocations: 0 / 366.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1398, allocations: 55.73 kB / 366.1 MB, free: 5.562 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.0006674/0.1405, allocations: 0.8329 MB / 367 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.1408, allocations: 139.9 kB / 367.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1408, allocations: 0 / 367.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.141, allocations: 67.91 kB / 367.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.1413, allocations: 23.98 kB / 367.2 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1431, allocations: 1.189 MB / 368.4 MB, free: 3.234 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1434, allocations: 0.7204 MB / 369.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.1435, allocations: 17.41 kB / 369.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.1436, allocations: 47.42 kB / 369.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1436, allocations: 0 / 369.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2191/0.3627, allocations: 2.942 MB / 372.1 MB, free: 18.63 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/0.3629, allocations: 193.2 kB / 372.3 MB, free: 18.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.301, allocations: 0 / 372.3 MB, free: 18.38 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