Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008674/0.0008671, allocations: 80.12 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2994/0.2994, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.818e-05/3.82e-05, allocations: 8.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4488/0.5856, allocations: 89.69 MB / 0.5894 GB, free: 15.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5859, allocations: 71.91 kB / 0.5894 GB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03055/0.6165, allocations: 9.985 MB / 0.5992 GB, free: 5.477 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6166, allocations: 0 / 0.5992 GB, free: 5.477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.6166, allocations: 0 / 0.5992 GB, free: 5.477 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.0007017/0.6173, allocations: 483.9 kB / 0.5997 GB, free: 4.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.6174, allocations: 8.031 kB / 0.5997 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.6174, allocations: 30.56 kB / 0.5997 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.6174, allocations: 3.938 kB / 0.5997 GB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.6176, allocations: 163 kB / 0.5999 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.6176, allocations: 4 kB / 0.5999 GB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.6176, allocations: 7.953 kB / 0.5999 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.84e-05/0.6177, allocations: 29.69 kB / 0.5999 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.6177, allocations: 0 / 0.5999 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.6177, allocations: 0 / 0.5999 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6177, allocations: 4 kB / 0.5999 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.6178, allocations: 0 / 0.5999 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.6179, allocations: 145.7 kB / 0.6 GB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.618, allocations: 30.55 kB / 0.6001 GB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.618, allocations: 4.859 kB / 0.6001 GB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.618, allocations: 3.953 kB / 0.6001 GB, free: 4.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.6181, allocations: 56.27 kB / 0.6001 GB, free: 4.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.053e-06/0.6181, allocations: 4.062 kB / 0.6001 GB, free: 4.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001933/0.6183, allocations: 59.39 kB / 0.6002 GB, free: 4.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.6184, allocations: 77.11 kB / 0.6003 GB, free: 4.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.479e-05/0.6184, allocations: 96.97 kB / 0.6004 GB, free: 4.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.6184, allocations: 29.7 kB / 0.6004 GB, free: 4.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.6185, allocations: 80.14 kB / 0.6005 GB, free: 3.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.6185, allocations: 0 / 0.6005 GB, free: 3.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.6185, allocations: 0 / 0.6005 GB, free: 3.953 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6186, allocations: 310.8 kB / 0.6008 GB, free: 3.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.6187, allocations: 3.938 kB / 0.6008 GB, free: 3.637 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-06/0.6187, allocations: 4 kB / 0.6008 GB, free: 3.633 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.306e-05/0.6187, allocations: 29.77 kB / 0.6008 GB, free: 3.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6187, allocations: 0 / 0.6008 GB, free: 3.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.056e-05/0.6188, allocations: 63.39 kB / 0.6008 GB, free: 3.523 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.6189, allocations: 29.7 kB / 0.6009 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6189, allocations: 3.953 kB / 0.6009 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6189, allocations: 0 / 0.6009 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.6189, allocations: 4 kB / 0.6009 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6189, allocations: 0 / 0.6009 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.6189, allocations: 4 kB / 0.6009 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.6189, allocations: 0 / 0.6009 GB, free: 3.477 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 8.983e-05/0.619, allocations: 138.7 kB / 0.601 GB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.6191, allocations: 3.938 kB / 0.601 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.6191, allocations: 7.078 kB / 0.601 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6191, allocations: 3.953 kB / 0.601 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.6191, allocations: 0 / 0.601 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6191, allocations: 3.938 kB / 0.601 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.6192, allocations: 145.7 kB / 0.6012 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6192, allocations: 0 / 0.6012 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-06/0.6192, allocations: 3.984 kB / 0.6012 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6192, allocations: 0 / 0.6012 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.6193, allocations: 4 kB / 0.6012 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6193, allocations: 0 / 0.6012 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6193, allocations: 3.953 kB / 0.6012 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.6194, allocations: 86.84 kB / 0.6013 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.6195, allocations: 85.09 kB / 0.6014 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.6195, allocations: 4 kB / 0.6014 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.6195, allocations: 0 / 0.6014 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.6195, allocations: 7.984 kB / 0.6014 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.6195, allocations: 0 / 0.6014 GB, free: 2.879 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.494e-05/0.6196, allocations: 75.28 kB / 0.6014 GB, free: 2.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6196, allocations: 0 / 0.6014 GB, free: 2.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007086/0.6203, allocations: 179.8 kB / 0.6016 GB, free: 2.629 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.001332/0.6216, allocations: 0.9268 MB / 0.6025 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.48e-05/0.6217, allocations: 59.41 kB / 0.6026 GB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6217, allocations: 4.062 kB / 0.6026 GB, free: 1.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.6218, allocations: 55.41 kB / 0.6026 GB, free: 1.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.815e-05/0.6219, allocations: 4.094 kB / 0.6026 GB, free: 1.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.6224, allocations: 190.8 kB / 0.6028 GB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.6226, allocations: 0.6731 MB / 0.6035 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.993e-06/0.6226, allocations: 3.984 kB / 0.6035 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.6227, allocations: 11.44 kB / 0.6035 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6227, allocations: 0 / 0.6035 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.6412, allocations: 4.718 MB / 0.6081 GB, free: 11.97 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003585/0.6416, allocations: 195.1 kB / 0.6083 GB, free: 11.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.247, allocations: 0 / 0.6083 GB, free: 11.75 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat