Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008402/0.0008402, allocations: 99.44 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 45.15 MB / 383.7 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.843e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.5353, allocations: 86.71 MB / 0.5891 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.5356, allocations: 63.03 kB / 0.5892 GB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003601/0.5392, allocations: 1.523 MB / 0.5907 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5392, allocations: 0 / 0.5907 GB, free: 14.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.5392, allocations: 4 kB / 0.5907 GB, free: 14.2 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004508/0.5397, allocations: 377.7 kB / 0.591 GB, free: 13.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.5398, allocations: 8.031 kB / 0.591 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.5398, allocations: 11.91 kB / 0.5911 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.54, allocations: 183.6 kB / 0.5912 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.5401, allocations: 4 kB / 0.5912 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.5401, allocations: 8 kB / 0.5912 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001558/0.5403, allocations: 48.97 kB / 0.5913 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.5405, allocations: 111.2 kB / 0.5914 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5405, allocations: 0 / 0.5914 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.5405, allocations: 0 / 0.5914 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.5405, allocations: 4 kB / 0.5914 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.5414, allocations: 0.6901 MB / 0.5921 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.5415, allocations: 173.1 kB / 0.5922 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.026e-05/0.5416, allocations: 80.14 kB / 0.5923 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.5416, allocations: 75.28 kB / 0.5924 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.784e-05/0.5417, allocations: 109.8 kB / 0.5925 GB, free: 12.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.5417, allocations: 2.734 kB / 0.5925 GB, free: 12.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.314e-05/0.5418, allocations: 29.7 kB / 0.5925 GB, free: 12.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.5418, allocations: 59.34 kB / 0.5926 GB, free: 12.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.5419, allocations: 111.1 kB / 0.5927 GB, free: 12.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.542, allocations: 25.7 kB / 0.5927 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.5421, allocations: 134.1 kB / 0.5928 GB, free: 11.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.5421, allocations: 0 / 0.5928 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.5421, allocations: 4 kB / 0.5928 GB, free: 11.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5422, allocations: 310.8 kB / 0.5931 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.5423, allocations: 6.938 kB / 0.5931 GB, free: 11.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.5423, allocations: 38.97 kB / 0.5932 GB, free: 11.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.5424, allocations: 21.17 kB / 0.5932 GB, free: 11.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5424, allocations: 0 / 0.5932 GB, free: 11.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001442/0.5425, allocations: 64.75 kB / 0.5933 GB, free: 11.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5425, allocations: 4 kB / 0.5933 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5426, allocations: 0 / 0.5933 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.5426, allocations: 4 kB / 0.5933 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.5427, allocations: 12.19 kB / 0.5933 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5427, allocations: 4 kB / 0.5933 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.5427, allocations: 11.8 kB / 0.5933 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.5427, allocations: 4 kB / 0.5933 GB, free: 11.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001197/0.5429, allocations: 187.4 kB / 0.5935 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.315e-05/0.543, allocations: 130.7 kB / 0.5936 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.543, allocations: 108.9 kB / 0.5937 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.5431, allocations: 116.9 kB / 0.5938 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-05/0.5432, allocations: 180.3 kB / 0.594 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-05/0.5433, allocations: 187.5 kB / 0.5942 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.826e-05/0.5434, allocations: 176.6 kB / 0.5943 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.5436, allocations: 404.3 kB / 0.5947 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.875e-05/0.5437, allocations: 108.9 kB / 0.5948 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.5437, allocations: 109 kB / 0.5949 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.782e-05/0.5438, allocations: 184.2 kB / 0.5951 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.122e-05/0.5439, allocations: 180.2 kB / 0.5953 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.689e-05/0.544, allocations: 176.3 kB / 0.5954 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.762e-05/0.5441, allocations: 177.1 kB / 0.5956 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.5443, allocations: 324.5 kB / 0.5959 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.269e-05/0.5444, allocations: 178.1 kB / 0.5961 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.469e-05/0.5445, allocations: 180.2 kB / 0.5963 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.5446, allocations: 105 kB / 0.5964 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.5447, allocations: 180.3 kB / 0.5965 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.5448, allocations: 112 kB / 0.5966 GB, free: 7.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.103e-05/0.5448, allocations: 86.59 kB / 0.5967 GB, free: 7.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5448, allocations: 0 / 0.5967 GB, free: 7.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.5451, allocations: 19.84 kB / 0.5967 GB, free: 7.668 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004137/0.5456, allocations: 0.8082 MB / 0.5975 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.121e-05/0.5457, allocations: 15.69 kB / 0.5976 GB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5457, allocations: 0 / 0.5976 GB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.5457, allocations: 0 / 0.5976 GB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.5461, allocations: 0.5265 MB / 0.5981 GB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.5465, allocations: 216.5 kB / 0.5983 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.5468, allocations: 0.6963 MB / 0.599 GB, free: 5.332 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.298e-05/0.5469, allocations: 7.844 kB / 0.599 GB, free: 5.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.5469, allocations: 25.23 kB / 0.599 GB, free: 5.312 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5469, allocations: 0 / 0.599 GB, free: 5.312 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.5652, allocations: 0.8464 MB / 0.5998 GB, free: 4.473 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/0.5655, allocations: 138.8 kB / 0.5999 GB, free: 4.277 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.082, allocations: 5.125 kB / 0.5999 GB, free: 4.273 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat does not exist to compare? outputFormat=mat