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.001055/0.001055, 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.366/1.366, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009442/0.0009444, allocations: 100.3 kB / 286.7 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 45.16 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.66e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6015/0.7289, allocations: 90.14 MB / 0.5925 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.7292, allocations: 65.88 kB / 0.5925 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04172/0.7709, allocations: 10.11 MB / 0.6024 GB, free: 3.984 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.771, allocations: 0 / 0.6024 GB, free: 3.984 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.771, allocations: 0 / 0.6024 GB, free: 3.984 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006344/0.7716, allocations: 479.2 kB / 0.6029 GB, free: 3.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7717, allocations: 12.03 kB / 0.6029 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.7717, allocations: 7.938 kB / 0.6029 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.856e-05/0.7718, allocations: 163 kB / 0.603 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.7718, allocations: 0 / 0.603 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.7718, allocations: 0 / 0.603 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.061e-05/0.7719, allocations: 4 kB / 0.603 GB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.058e-05/0.772, allocations: 29.7 kB / 0.6031 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.772, allocations: 0 / 0.6031 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.772, allocations: 4.641 kB / 0.6031 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.772, allocations: 0 / 0.6031 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.7721, allocations: 126.2 kB / 0.6032 GB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.37e-05/0.7722, allocations: 26.55 kB / 0.6032 GB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.7722, allocations: 8.297 kB / 0.6032 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-06/0.7722, allocations: 0 / 0.6032 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.7723, allocations: 60.33 kB / 0.6033 GB, free: 2.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.7723, allocations: 3.938 kB / 0.6033 GB, free: 2.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.7725, allocations: 33.69 kB / 0.6033 GB, free: 2.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.7725, allocations: 81.14 kB / 0.6034 GB, free: 2.793 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.424e-05/0.7726, allocations: 85 kB / 0.6035 GB, free: 2.703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.7726, allocations: 25.7 kB / 0.6035 GB, free: 2.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.7726, allocations: 84.14 kB / 0.6036 GB, free: 2.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.7726, allocations: 3.312 kB / 0.6036 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.7726, allocations: 0 / 0.6036 GB, free: 2.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7728, allocations: 310.8 kB / 0.6039 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-06/0.7728, allocations: 0 / 0.6039 GB, free: 2.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.7728, allocations: 0 / 0.6039 GB, free: 2.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.7728, allocations: 15.94 kB / 0.6039 GB, free: 2.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7728, allocations: 0 / 0.6039 GB, free: 2.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.997e-05/0.7729, allocations: 37.64 kB / 0.6039 GB, free: 2.215 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.773, allocations: 33.7 kB / 0.604 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.773, allocations: 0 / 0.604 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.773, allocations: 3.984 kB / 0.604 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.773, allocations: 0 / 0.604 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.773, allocations: 0 / 0.604 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.773, allocations: 0 / 0.604 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.773, allocations: 0 / 0.604 GB, free: 2.172 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: 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 8.479e-05/0.7731, allocations: 138.3 kB / 0.6041 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.713e-05/0.7732, allocations: 41.64 kB / 0.6041 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.7732, allocations: 0 / 0.6041 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/0.7732, allocations: 15.64 kB / 0.6042 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.7732, allocations: 0 / 0.6042 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.7732, allocations: 0 / 0.6042 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.7733, allocations: 0 / 0.6042 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.015e-05/0.7733, allocations: 130.2 kB / 0.6043 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7733, allocations: 0 / 0.6043 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.7734, allocations: 7.984 kB / 0.6043 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.7734, allocations: 4 kB / 0.6043 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.7734, allocations: 0 / 0.6043 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7734, allocations: 0 / 0.6043 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7734, allocations: 0 / 0.6043 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.851e-05/0.7735, allocations: 60.81 kB / 0.6044 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.7735, allocations: 77.11 kB / 0.6044 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.7736, allocations: 7.984 kB / 0.6044 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-06/0.7736, allocations: 4 kB / 0.6044 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.7736, allocations: 0 / 0.6044 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.7736, allocations: 4 kB / 0.6044 GB, free: 1.609 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.723e-05/0.7736, allocations: 78.53 kB / 0.6045 GB, free: 1.535 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7736, allocations: 3.938 kB / 0.6045 GB, free: 1.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006131/0.7743, allocations: 201.8 kB / 0.6047 GB, free: 1.352 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: 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.001278/0.7755, allocations: 0.9066 MB / 0.6056 GB, free: 456 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.7757, allocations: 62.78 kB / 0.6057 GB, free: 384 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7757, allocations: 0 / 0.6057 GB, free: 384 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.7757, allocations: 55.41 kB / 0.6057 GB, free: 316 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.429e-05/0.7758, allocations: 3.953 kB / 0.6057 GB, free: 312 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.7763, allocations: 189.3 kB / 0.6059 GB, free: 84 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.7766, allocations: 0.6729 MB / 0.6066 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.821e-06/0.7766, allocations: 0 / 0.6066 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.7766, allocations: 15.56 kB / 0.6066 GB, free: 15.37 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.7766, allocations: 0 / 0.6066 GB, free: 15.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.8045, allocations: 5.019 MB / 0.6115 GB, free: 10.37 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/0.8048, allocations: 173 kB / 0.6116 GB, free: 10.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.379, allocations: 0 / 0.6116 GB, free: 10.18 MB / 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