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.002951/0.002951, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.634/1.634, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 96.38 kB / 297.2 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.368/0.368, allocations: 45.23 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003909, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4045, allocations: 63.24 MB / 0.5193 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.5289, allocations: 87.44 MB / 0.6047 GB, free: 4 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5292, allocations: 75.92 kB / 0.6047 GB, free: 15.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003439/0.5326, allocations: 1.533 MB / 0.6062 GB, free: 14.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5327, allocations: 0 / 0.6062 GB, free: 14.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.5327, allocations: 4 kB / 0.6062 GB, free: 14.39 MB / 426.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.0004485/0.5331, allocations: 383.2 kB / 0.6066 GB, free: 13.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.5332, allocations: 12.03 kB / 0.6066 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.5333, allocations: 46.55 kB / 0.6066 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.5333, allocations: 11.84 kB / 0.6067 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.5335, allocations: 174.9 kB / 0.6068 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.5335, allocations: 8.234 kB / 0.6068 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.5335, allocations: 12 kB / 0.6068 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.5338, allocations: 129 kB / 0.607 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5338, allocations: 0 / 0.607 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.5338, allocations: 7.984 kB / 0.607 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.5338, allocations: 4 kB / 0.607 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.534, allocations: 63.91 kB / 0.607 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007925/0.5348, allocations: 0.7234 MB / 0.6077 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.5349, allocations: 177.1 kB / 0.6079 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.5349, allocations: 75.28 kB / 0.608 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.535, allocations: 105.8 kB / 0.6081 GB, free: 12.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.535, allocations: 0 / 0.6081 GB, free: 12.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 7.599e-05/0.535, allocations: 37.59 kB / 0.6081 GB, free: 12.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.5351, allocations: 130.7 kB / 0.6082 GB, free: 12.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.5353, allocations: 139.7 kB / 0.6084 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.5353, allocations: 29.7 kB / 0.6084 GB, free: 11.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.5354, allocations: 123.7 kB / 0.6085 GB, free: 11.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.5354, allocations: 0 / 0.6085 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.5354, allocations: 0 / 0.6085 GB, free: 11.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5355, allocations: 318.8 kB / 0.6088 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.5355, allocations: 11.92 kB / 0.6088 GB, free: 11.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.5356, allocations: 45.16 kB / 0.6089 GB, free: 11.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.5356, allocations: 15.94 kB / 0.6089 GB, free: 11.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5356, allocations: 0 / 0.6089 GB, free: 11.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001511/0.5358, allocations: 77.47 kB / 0.609 GB, free: 11.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5358, allocations: 8 kB / 0.609 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5358, allocations: 0 / 0.609 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5358, allocations: 4 kB / 0.609 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.5359, allocations: 15.94 kB / 0.609 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5359, allocations: 0 / 0.609 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.536, allocations: 15.84 kB / 0.609 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.536, allocations: 4 kB / 0.609 GB, free: 11.26 MB / 426.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 () * Number of clocked 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.0001159/0.5361, allocations: 197.2 kB / 0.6092 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.5362, allocations: 105 kB / 0.6093 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.5362, allocations: 120.8 kB / 0.6094 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/0.5363, allocations: 180.2 kB / 0.6096 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.317e-05/0.5364, allocations: 180.2 kB / 0.6098 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.106e-05/0.5365, allocations: 180.2 kB / 0.6099 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.5367, allocations: 437.6 kB / 0.6104 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/0.5368, allocations: 105 kB / 0.6105 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.5368, allocations: 112.9 kB / 0.6106 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.439e-05/0.5369, allocations: 180.3 kB / 0.6107 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.537, allocations: 180.2 kB / 0.6109 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.465e-05/0.537, allocations: 184.3 kB / 0.6111 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.601e-05/0.5371, allocations: 176.3 kB / 0.6113 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.5373, allocations: 315.6 kB / 0.6116 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.5374, allocations: 189.9 kB / 0.6117 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/0.5375, allocations: 180.2 kB / 0.6119 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.5375, allocations: 106.4 kB / 0.612 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.5376, allocations: 188.2 kB / 0.6122 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.5377, allocations: 101 kB / 0.6123 GB, free: 7.691 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.619e-05/0.5377, allocations: 106.5 kB / 0.6124 GB, free: 7.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5378, allocations: 0 / 0.6124 GB, free: 7.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.538, allocations: 27.89 kB / 0.6124 GB, free: 7.562 MB / 426.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 () * Number of clocked 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.0003882/0.5384, allocations: 0.8047 MB / 0.6132 GB, free: 6.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.987e-05/0.5385, allocations: 23.92 kB / 0.6132 GB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5385, allocations: 0 / 0.6132 GB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.5385, allocations: 384 / 0.6132 GB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.5388, allocations: 0.5263 MB / 0.6137 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.5399, allocations: 1.382 MB / 0.6151 GB, free: 4.727 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.5402, allocations: 0.6965 MB / 0.6158 GB, free: 4.004 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.959e-05/0.5402, allocations: 11.98 kB / 0.6158 GB, free: 3.992 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.5403, allocations: 23.44 kB / 0.6158 GB, free: 3.969 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5403, allocations: 0 / 0.6158 GB, free: 3.969 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.553, allocations: 1.362 MB / 0.6171 GB, free: 2.734 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.5533, allocations: 169.2 kB / 0.6173 GB, free: 2.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.261, allocations: 0 / 0.6173 GB, free: 2.5 MB / 426.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