Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 197.2 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.257/1.257, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008581/0.0008581, allocations: 91.44 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.1747/0.1747, allocations: 45.14 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.973e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.08875, allocations: 63.24 MB / 0.5114 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4617, allocations: 90.81 MB / 0.6001 GB, free: 3.066 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.462, allocations: 65.03 kB / 0.6002 GB, free: 3.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0282/0.4902, allocations: 10.26 MB / 0.6102 GB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4902, allocations: 4 kB / 0.6102 GB, free: 10.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.4902, allocations: 0 / 0.6102 GB, free: 10.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005475/0.4908, allocations: 479 kB / 0.6107 GB, free: 9.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4908, allocations: 15.97 kB / 0.6107 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.692e-05/0.4909, allocations: 30.56 kB / 0.6107 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.905e-05/0.4909, allocations: 0 / 0.6107 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.176e-05/0.491, allocations: 167 kB / 0.6109 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.491, allocations: 0 / 0.6109 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.491, allocations: 7.625 kB / 0.6109 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.865e-05/0.4911, allocations: 29.69 kB / 0.6109 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.4911, allocations: 0 / 0.6109 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.4911, allocations: 0 / 0.6109 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4911, allocations: 4 kB / 0.6109 GB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.4911, allocations: 3.938 kB / 0.6109 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.4913, allocations: 145.6 kB / 0.6111 GB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.726e-05/0.4913, allocations: 22.61 kB / 0.6111 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.147e-05/0.4913, allocations: 8.609 kB / 0.6111 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.4913, allocations: 0 / 0.6111 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.4914, allocations: 60.25 kB / 0.6111 GB, free: 9.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.4914, allocations: 64 / 0.6111 GB, free: 9.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.4915, allocations: 63.34 kB / 0.6112 GB, free: 8.941 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.4916, allocations: 81.14 kB / 0.6113 GB, free: 8.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.739e-05/0.4916, allocations: 85 kB / 0.6114 GB, free: 8.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.4916, allocations: 29.7 kB / 0.6114 GB, free: 8.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.4917, allocations: 84.08 kB / 0.6115 GB, free: 8.633 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.4917, allocations: 3.938 kB / 0.6115 GB, free: 8.633 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.4917, allocations: 0 / 0.6115 GB, free: 8.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4918, allocations: 314.8 kB / 0.6118 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.4918, allocations: 0 / 0.6118 GB, free: 8.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.4918, allocations: 7.938 kB / 0.6118 GB, free: 8.309 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.4919, allocations: 33.72 kB / 0.6118 GB, free: 8.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4919, allocations: 0 / 0.6118 GB, free: 8.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.167e-05/0.4919, allocations: 63.34 kB / 0.6119 GB, free: 8.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.492, allocations: 29.7 kB / 0.6119 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.492, allocations: 0 / 0.6119 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.492, allocations: 3.984 kB / 0.6119 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/0.492, allocations: 4 kB / 0.6119 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.492, allocations: 0 / 0.6119 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.492, allocations: 0 / 0.6119 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.492, allocations: 4.031 kB / 0.6119 GB, free: 8.148 MB / 410.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.349e-05/0.4921, allocations: 138.3 kB / 0.612 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.4921, allocations: 0 / 0.612 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.4921, allocations: 7.078 kB / 0.6121 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.4921, allocations: 0 / 0.6121 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4921, allocations: 0 / 0.6121 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-06/0.4922, allocations: 0 / 0.6121 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.88e-05/0.4922, allocations: 153.7 kB / 0.6122 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4923, allocations: 3.953 kB / 0.6122 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-06/0.4923, allocations: 4 kB / 0.6122 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.4923, allocations: 4 kB / 0.6122 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.4923, allocations: 0 / 0.6122 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.4923, allocations: 0 / 0.6122 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4923, allocations: 0 / 0.6122 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.1e-05/0.4924, allocations: 93.45 kB / 0.6123 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.4924, allocations: 81.06 kB / 0.6124 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.4924, allocations: 0 / 0.6124 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-06/0.4924, allocations: 8.031 kB / 0.6124 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.4925, allocations: 3.75 kB / 0.6124 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.4925, allocations: 0 / 0.6124 GB, free: 7.566 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.605e-05/0.4925, allocations: 75.28 kB / 0.6125 GB, free: 7.492 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4925, allocations: 0 / 0.6125 GB, free: 7.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005589/0.4931, allocations: 201.1 kB / 0.6127 GB, free: 7.312 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009967/0.4941, allocations: 0.9511 MB / 0.6136 GB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.4942, allocations: 71.33 kB / 0.6137 GB, free: 6.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4942, allocations: 0 / 0.6137 GB, free: 6.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.4942, allocations: 59.28 kB / 0.6137 GB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.482e-05/0.4943, allocations: 0 / 0.6137 GB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.4946, allocations: 182.4 kB / 0.6139 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.4949, allocations: 0.6731 MB / 0.6145 GB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.42e-06/0.4949, allocations: 0 / 0.6145 GB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.4949, allocations: 11.44 kB / 0.6146 GB, free: 5.285 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4949, allocations: 0 / 0.6146 GB, free: 5.285 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.5116, allocations: 5.086 MB / 0.6195 GB, free: 320 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.5118, allocations: 185 kB / 0.6197 GB, free: 96 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.125, allocations: 0 / 0.6197 GB, free: 96 kB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexOperations.fmu > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat