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.001127/0.001127, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007975/0.0007975, allocations: 88.77 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.273e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.08756, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3472/0.4348, allocations: 87.37 MB / 0.5968 GB, free: 6.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.435, allocations: 63.03 kB / 0.5968 GB, free: 6.379 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003349/0.4384, allocations: 1.539 MB / 0.5983 GB, free: 5.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4384, allocations: 4 kB / 0.5983 GB, free: 5.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.4384, allocations: 4 kB / 0.5983 GB, free: 5.043 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.0003544/0.4388, allocations: 377.9 kB / 0.5987 GB, free: 4.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4388, allocations: 15.97 kB / 0.5987 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.4389, allocations: 42 kB / 0.5988 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.4389, allocations: 7.906 kB / 0.5988 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.439, allocations: 178.9 kB / 0.5989 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.439, allocations: 8.047 kB / 0.5989 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.4391, allocations: 15.81 kB / 0.599 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.4393, allocations: 124.5 kB / 0.5991 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.4393, allocations: 0 / 0.5991 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4393, allocations: 3.062 kB / 0.5991 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4393, allocations: 4 kB / 0.5991 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.4394, allocations: 62.42 kB / 0.5991 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.4402, allocations: 0.7213 MB / 0.5998 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.4404, allocations: 169.9 kB / 0.6 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.4404, allocations: 84.83 kB / 0.6001 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.4404, allocations: 77.91 kB / 0.6002 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.4405, allocations: 106.8 kB / 0.6003 GB, free: 3.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4405, allocations: 4 kB / 0.6003 GB, free: 3.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.299e-05/0.4406, allocations: 38.19 kB / 0.6003 GB, free: 2.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.4406, allocations: 126.7 kB / 0.6004 GB, free: 2.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.4408, allocations: 138.8 kB / 0.6006 GB, free: 2.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.4408, allocations: 25.7 kB / 0.6006 GB, free: 2.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.4409, allocations: 131.3 kB / 0.6007 GB, free: 2.543 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.4409, allocations: 0.8125 kB / 0.6007 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.4409, allocations: 0.75 kB / 0.6007 GB, free: 2.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.441, allocations: 318.2 kB / 0.601 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.441, allocations: 9.312 kB / 0.601 GB, free: 2.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/0.441, allocations: 45.2 kB / 0.6011 GB, free: 2.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.4411, allocations: 15.06 kB / 0.6011 GB, free: 2.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4411, allocations: 0 / 0.6011 GB, free: 2.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001272/0.4412, allocations: 73.59 kB / 0.6012 GB, free: 2.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4412, allocations: 8 kB / 0.6012 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4413, allocations: 0 / 0.6012 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4413, allocations: 7.953 kB / 0.6012 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.4413, allocations: 16.11 kB / 0.6012 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4414, allocations: 4 kB / 0.6012 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.4414, allocations: 11.88 kB / 0.6012 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.4414, allocations: 6.75 kB / 0.6012 GB, free: 2.027 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 7.565e-05/0.4415, allocations: 176.3 kB / 0.6014 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.4416, allocations: 116.8 kB / 0.6015 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.4416, allocations: 123.9 kB / 0.6016 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.889e-05/0.4417, allocations: 180.4 kB / 0.6018 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/0.4417, allocations: 188.2 kB / 0.602 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.268e-05/0.4418, allocations: 186.5 kB / 0.6021 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.4421, allocations: 432 kB / 0.6025 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/0.4421, allocations: 104.9 kB / 0.6026 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.4421, allocations: 101 kB / 0.6027 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-05/0.4422, allocations: 191.9 kB / 0.6029 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.4423, allocations: 180.3 kB / 0.6031 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.173e-05/0.4424, allocations: 180.2 kB / 0.6033 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.638e-05/0.4424, allocations: 176.3 kB / 0.6034 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.4425, allocations: 322.7 kB / 0.6037 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.4426, allocations: 182 kB / 0.6039 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.4427, allocations: 183.7 kB / 0.6041 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.4428, allocations: 113 kB / 0.6042 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.4428, allocations: 176.3 kB / 0.6044 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.4429, allocations: 104.9 kB / 0.6045 GB, free: 14.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.575e-05/0.443, allocations: 118.8 kB / 0.6046 GB, free: 14.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.443, allocations: 0 / 0.6046 GB, free: 14.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.4432, allocations: 16 kB / 0.6046 GB, free: 14.37 MB / 410.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.0003509/0.4435, allocations: 0.8011 MB / 0.6054 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.455e-05/0.4437, allocations: 23.31 kB / 0.6054 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4437, allocations: 0 / 0.6054 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.4437, allocations: 3.938 kB / 0.6054 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.4441, allocations: 0.5307 MB / 0.6059 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.4446, allocations: 217.9 kB / 0.6061 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.4449, allocations: 0.6965 MB / 0.6068 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.576e-05/0.4449, allocations: 0 / 0.6068 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.445, allocations: 26.48 kB / 0.6068 GB, free: 12 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.445, allocations: 0 / 0.6068 GB, free: 12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.4572, allocations: 1.346 MB / 0.6081 GB, free: 10.78 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.4574, allocations: 148.6 kB / 0.6083 GB, free: 10.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.321/1.778, allocations: 0 / 0.6083 GB, free: 10.56 MB / 410.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