Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 193.6 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 95.5 kB / 286.7 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2593/0.2593, allocations: 45.15 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.032e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.552, allocations: 91.09 MB / 0.5934 GB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.5522, allocations: 64.84 kB / 0.5935 GB, free: 11.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.5696, allocations: 6.289 MB / 0.5996 GB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5696, allocations: 0 / 0.5996 GB, free: 5.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.5696, allocations: 4 kB / 0.5996 GB, free: 5.797 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005942/0.5702, allocations: 487 kB / 0.6001 GB, free: 5.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5703, allocations: 8.031 kB / 0.6001 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008769/0.5712, allocations: 82.84 kB / 0.6002 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.5714, allocations: 194.8 kB / 0.6003 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5714, allocations: 8 kB / 0.6004 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.5714, allocations: 16 kB / 0.6004 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002361/0.5717, allocations: 116.1 kB / 0.6005 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.5719, allocations: 154.1 kB / 0.6006 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.572, allocations: 0 / 0.6006 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.572, allocations: 3.984 kB / 0.6006 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.572, allocations: 8 kB / 0.6006 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/0.5728, allocations: 0.5288 MB / 0.6012 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.5733, allocations: 209.4 kB / 0.6014 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.5734, allocations: 51.33 kB / 0.6014 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.5734, allocations: 4.219 kB / 0.6014 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5735, allocations: 41.78 kB / 0.6015 GB, free: 3.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 2.395e-06/0.5735, allocations: 0 / 0.6015 GB, free: 3.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002758/0.5738, allocations: 143.8 kB / 0.6016 GB, free: 3.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.5738, allocations: 59.41 kB / 0.6016 GB, free: 3.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.5739, allocations: 92.31 kB / 0.6017 GB, free: 3.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.5739, allocations: 26.45 kB / 0.6018 GB, free: 3.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.574, allocations: 135.1 kB / 0.6019 GB, free: 3.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.5741, allocations: 89.84 kB / 0.602 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.5741, allocations: 0 / 0.602 GB, free: 3.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5742, allocations: 318.6 kB / 0.6023 GB, free: 3.121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.5743, allocations: 31.06 kB / 0.6023 GB, free: 3.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.843e-05/0.5744, allocations: 34.75 kB / 0.6023 GB, free: 3.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.5744, allocations: 42.78 kB / 0.6024 GB, free: 3.047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5744, allocations: 3.938 kB / 0.6024 GB, free: 3.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001835/0.5746, allocations: 139.2 kB / 0.6025 GB, free: 2.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5746, allocations: 4 kB / 0.6025 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5747, allocations: 0 / 0.6025 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5747, allocations: 4 kB / 0.6025 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.575, allocations: 107.4 kB / 0.6026 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.5751, allocations: 0 / 0.6026 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.5751, allocations: 11.84 kB / 0.6026 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.5752, allocations: 4 kB / 0.6026 GB, free: 2.797 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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 8.854e-05/0.5753, allocations: 105.9 kB / 0.6027 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002048/0.5755, allocations: 150.6 kB / 0.6029 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.5755, allocations: 7.906 kB / 0.6029 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.5756, allocations: 20.48 kB / 0.6029 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5756, allocations: 11.94 kB / 0.6029 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5756, allocations: 0 / 0.6029 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5756, allocations: 0 / 0.6029 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.5759, allocations: 218.4 kB / 0.6031 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5759, allocations: 0 / 0.6031 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.5762, allocations: 103.7 kB / 0.6032 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.5762, allocations: 11.95 kB / 0.6032 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.5763, allocations: 256 / 0.6032 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5763, allocations: 0 / 0.6032 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5763, allocations: 4 kB / 0.6032 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.5765, allocations: 239.8 kB / 0.6035 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.5766, allocations: 92.86 kB / 0.6036 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.5766, allocations: 3.953 kB / 0.6036 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.5767, allocations: 7.484 kB / 0.6036 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.5767, allocations: 15.98 kB / 0.6036 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.5768, allocations: 7.625 kB / 0.6036 GB, free: 1.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.5768, allocations: 79.81 kB / 0.6037 GB, free: 1.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5768, allocations: 0 / 0.6037 GB, free: 1.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.5771, allocations: 39.84 kB / 0.6037 GB, free: 1.711 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 (27): * Single equations (assignments): 27 * 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.0006783/0.5778, allocations: 0.8268 MB / 0.6045 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.5779, allocations: 109.3 kB / 0.6046 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.578, allocations: 0 / 0.6046 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.578, allocations: 67.67 kB / 0.6047 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.5782, allocations: 5.516 kB / 0.6047 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006035/0.5788, allocations: 281.9 kB / 0.605 GB, free: 492 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.5792, allocations: 0.7399 MB / 0.6057 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.5793, allocations: 25.12 kB / 0.6057 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.5794, allocations: 58.09 kB / 0.6058 GB, free: 15.66 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5794, allocations: 3.938 kB / 0.6058 GB, free: 15.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.6007, allocations: 1.977 MB / 0.6077 GB, free: 13.69 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.601, allocations: 124.2 kB / 0.6078 GB, free: 13.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/2.061, allocations: 0 / 0.6078 GB, free: 13.5 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat