Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009741, allocations: 86.7 kB / 16.31 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 184.8 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 241.2 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002964, allocations: 6.656 kB / 300.9 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 50.43 MB / 351.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002434/0.1279, allocations: 1.768 MB / 353.1 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.1289, allocations: 0.4989 MB / 353.6 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.129, allocations: 4 kB / 353.6 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.1292, allocations: 23.83 kB / 353.6 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1293, allocations: 47.61 kB / 353.7 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1295, allocations: 39.97 kB / 353.7 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.1298, allocations: 215 kB / 353.9 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.13, allocations: 65.88 kB / 354 MB, free: 8.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1302, allocations: 71.72 kB / 354.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1304, allocations: 91.59 kB / 354.2 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.1304, allocations: 8 kB / 354.2 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.1305, allocations: 12 kB / 354.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.1305, allocations: 31.91 kB / 354.2 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.1306, allocations: 61.58 kB / 354.3 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1308, allocations: 171.5 kB / 354.4 MB, free: 8.504 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1308, allocations: 0 / 354.4 MB, free: 8.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1309, allocations: 0 / 354.4 MB, free: 8.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1309, allocations: 0 / 354.4 MB, free: 8.504 MB / 286.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.0009244/0.1318, allocations: 470.7 kB / 354.9 MB, free: 7.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/0.1319, allocations: 12.03 kB / 354.9 MB, free: 7.984 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.132, allocations: 50.55 kB / 355 MB, free: 7.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.1321, allocations: 23.77 kB / 355 MB, free: 7.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.1324, allocations: 221.3 kB / 355.2 MB, free: 7.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.1325, allocations: 19.94 kB / 355.2 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.1325, allocations: 16 kB / 355.2 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.133, allocations: 185.5 kB / 355.4 MB, free: 7.426 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.133, allocations: 0 / 355.4 MB, free: 7.426 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.133, allocations: 8 kB / 355.4 MB, free: 7.418 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.133, allocations: 7.953 kB / 355.4 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.1334, allocations: 151.8 kB / 355.6 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.1348, allocations: 0.7546 MB / 356.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1352, allocations: 174.5 kB / 356.5 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.1355, allocations: 100.8 kB / 356.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1355, allocations: 0 / 356.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1355, allocations: 38.56 kB / 356.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.1355, allocations: 0 / 356.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000532/0.1361, allocations: 193.8 kB / 356.8 MB, free: 5.914 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1361, allocations: 51.41 kB / 356.9 MB, free: 5.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1363, allocations: 160.7 kB / 357 MB, free: 5.688 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1363, allocations: 25.7 kB / 357.1 MB, free: 5.656 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.1364, allocations: 136.1 kB / 357.2 MB, free: 5.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.1365, allocations: 55.28 kB / 357.2 MB, free: 5.465 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.1365, allocations: 0 / 357.2 MB, free: 5.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.1368, allocations: 330.8 kB / 357.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1369, allocations: 51.97 kB / 357.6 MB, free: 5.082 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1371, allocations: 76.39 kB / 357.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1372, allocations: 66.33 kB / 357.8 MB, free: 4.941 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1372, allocations: 0 / 357.8 MB, free: 4.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003319/0.1376, allocations: 189.2 kB / 357.9 MB, free: 4.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1376, allocations: 4 kB / 357.9 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1376, allocations: 4 kB / 357.9 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1376, allocations: 4.031 kB / 358 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.1378, allocations: 39.97 kB / 358 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1379, allocations: 4 kB / 358 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.138, allocations: 27.83 kB / 358 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.138, allocations: 4 kB / 358 MB, free: 4.664 MB / 286.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.0001273/0.1381, allocations: 129.7 kB / 358.2 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1382, allocations: 11.91 kB / 358.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.1382, allocations: 24.84 kB / 358.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1382, allocations: 0 / 358.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1382, allocations: 0 / 358.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1383, allocations: 3.984 kB / 358.2 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.1386, allocations: 257.5 kB / 358.4 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1386, allocations: 3.984 kB / 358.4 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.1388, allocations: 39.98 kB / 358.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1388, allocations: 0 / 358.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1388, allocations: 4 kB / 358.5 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1388, allocations: 0 / 358.5 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1388, allocations: 7.938 kB / 358.5 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.1393, allocations: 311.2 kB / 358.8 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.1394, allocations: 96.95 kB / 358.9 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1394, allocations: 4 kB / 358.9 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1396, allocations: 16.03 kB / 358.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.1396, allocations: 7.984 kB / 358.9 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.1397, allocations: 4 kB / 358.9 MB, free: 3.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.905e-05/0.1398, allocations: 115.8 kB / 359 MB, free: 3.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1398, allocations: 0 / 359 MB, free: 3.551 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.14, allocations: 51.84 kB / 359.1 MB, free: 3.5 MB / 286.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.0008142/0.1409, allocations: 0.8443 MB / 359.9 MB, free: 2.633 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.1412, allocations: 135.9 kB / 360.1 MB, free: 2.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1412, allocations: 0 / 360.1 MB, free: 2.5 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1413, allocations: 71.97 kB / 360.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1417, allocations: 23.98 kB / 360.2 MB, free: 2.406 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1438, allocations: 1.183 MB / 361.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.1444, allocations: 0.7281 MB / 362.1 MB, free: 424 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1445, allocations: 9.422 kB / 362.1 MB, free: 416 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1446, allocations: 51.42 kB / 362.1 MB, free: 364 kB / 286.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1446, allocations: 0 / 362.1 MB, free: 364 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.1625, allocations: 2.951 MB / 365.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.1628, allocations: 185.3 kB / 365.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.018, allocations: 4 kB / 365.3 MB, free: 13.29 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat