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.001236/0.001236, allocations: 98.48 kB / 16.3 MB, free: 5.59 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.001299/0.001299, allocations: 178.8 kB / 17.19 MB, free: 5.527 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.518/1.518, allocations: 223.2 MB / 241.1 MB, free: 392 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003493, allocations: 8 kB / 300.8 MB, free: 6.371 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1172, allocations: 50.42 MB / 351.2 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002271/0.1195, allocations: 1.684 MB / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.1203, allocations: 0.5147 MB / 353.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.1204, allocations: 4 kB / 353.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.855e-05/0.1205, allocations: 23.84 kB / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.1207, allocations: 67.78 kB / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.1208, allocations: 39.89 kB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1211, allocations: 155.7 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1213, allocations: 68.94 kB / 353.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1214, allocations: 67.78 kB / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1215, allocations: 83.67 kB / 353.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.1216, allocations: 19.98 kB / 353.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.891e-05/0.1216, allocations: 8 kB / 354 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.1216, allocations: 31.91 kB / 354 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.1217, allocations: 61.58 kB / 354 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1219, allocations: 167.8 kB / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1219, allocations: 0 / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1219, allocations: 0 / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1219, allocations: 0 / 354.2 MB, free: 0.9375 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.0008164/0.1228, allocations: 470.7 kB / 354.7 MB, free: 440 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.1228, allocations: 8.031 kB / 354.7 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.155e-05/0.1229, allocations: 54.55 kB / 354.7 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.123, allocations: 23.77 kB / 354.8 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.1233, allocations: 214.7 kB / 355 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.1233, allocations: 16 kB / 355 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.1234, allocations: 20 kB / 355 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.1238, allocations: 185.6 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1239, allocations: 0 / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1239, allocations: 4 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1239, allocations: 7.953 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.1243, allocations: 151.9 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.1256, allocations: 0.7623 MB / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.1261, allocations: 178.4 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.1261, allocations: 0 / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1262, allocations: 30.56 kB / 356.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.1262, allocations: 4 kB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005164/0.1267, allocations: 201.7 kB / 356.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.1268, allocations: 51.41 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1269, allocations: 150.4 kB / 356.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.127, allocations: 29.7 kB / 356.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1271, allocations: 128.2 kB / 356.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1271, allocations: 55.28 kB / 356.9 MB, free: 14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.1271, allocations: 4 kB / 356.9 MB, free: 14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1273, allocations: 326.8 kB / 357.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1275, allocations: 51.97 kB / 357.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1276, allocations: 80.39 kB / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1278, allocations: 66.39 kB / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1278, allocations: 0 / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003605/0.1281, allocations: 181.4 kB / 357.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1282, allocations: 4 kB / 357.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1282, allocations: 4 kB / 357.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1282, allocations: 12.02 kB / 357.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.1284, allocations: 39.97 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1284, allocations: 4 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1286, allocations: 19.83 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1286, allocations: 4 kB / 357.7 MB, free: 13.21 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.0001358/0.1287, allocations: 133.7 kB / 357.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1288, allocations: 11.91 kB / 357.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.1288, allocations: 16.84 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.1288, allocations: 4 kB / 357.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1288, allocations: 0 / 357.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1289, allocations: 3.984 kB / 357.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.1292, allocations: 277.3 kB / 358.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1292, allocations: 0 / 358.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.1294, allocations: 35.98 kB / 358.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1294, allocations: 0 / 358.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1294, allocations: 4 kB / 358.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1295, allocations: 8 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.1295, allocations: 11.91 kB / 358.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.13, allocations: 310.5 kB / 358.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.1301, allocations: 88.92 kB / 358.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1302, allocations: 0 / 358.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1303, allocations: 20.03 kB / 358.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.1304, allocations: 11.92 kB / 358.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1304, allocations: 4 kB / 358.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1305, allocations: 117.5 kB / 358.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1305, allocations: 0 / 358.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.1308, allocations: 51.84 kB / 358.8 MB, free: 12.03 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.000882/0.1317, allocations: 0.8485 MB / 359.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.1321, allocations: 131.9 kB / 359.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1321, allocations: 0 / 359.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.1323, allocations: 71.97 kB / 359.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1326, allocations: 19.98 kB / 359.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1348, allocations: 1.334 MB / 361.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1352, allocations: 0.7321 MB / 361.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.1353, allocations: 17.34 kB / 361.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.225e-05/0.1354, allocations: 55.42 kB / 362 MB, free: 8.715 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1354, allocations: 0 / 362 MB, free: 8.715 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.1502, allocations: 2.914 MB / 364.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.1505, allocations: 197.7 kB / 365.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.047, allocations: 0 / 365.1 MB, free: 5.68 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