Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008868/0.0008867, allocations: 90.81 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2433/0.2433, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4269/0.5653, allocations: 88.76 MB / 0.5655 GB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.5656, allocations: 71.19 kB / 0.5656 GB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02847/0.5941, allocations: 9.924 MB / 0.5753 GB, free: 2.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5942, allocations: 0 / 0.5753 GB, free: 2.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.5942, allocations: 0 / 0.5753 GB, free: 2.34 MB / 378.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.00075/0.595, allocations: 491.3 kB / 0.5758 GB, free: 1.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.595, allocations: 12.03 kB / 0.5758 GB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.5951, allocations: 30.56 kB / 0.5758 GB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.5951, allocations: 0 / 0.5758 GB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.5952, allocations: 167 kB / 0.576 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.5952, allocations: 0.875 kB / 0.576 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.5953, allocations: 0 / 0.576 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/0.5954, allocations: 37.27 kB / 0.576 GB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5954, allocations: 0 / 0.576 GB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.5954, allocations: 0 / 0.576 GB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5954, allocations: 0 / 0.576 GB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.294e-05/0.5954, allocations: 7.984 kB / 0.576 GB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.5956, allocations: 145.6 kB / 0.5761 GB, free: 1.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.5956, allocations: 18.52 kB / 0.5762 GB, free: 1.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.5957, allocations: 4 kB / 0.5762 GB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.5957, allocations: 64.05 kB / 0.5762 GB, free: 1.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 6.011e-06/0.5957, allocations: 0 / 0.5762 GB, free: 1.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.5959, allocations: 67.33 kB / 0.5763 GB, free: 1.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.596, allocations: 77.11 kB / 0.5764 GB, free: 1.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.26e-05/0.596, allocations: 85 kB / 0.5764 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.596, allocations: 25.7 kB / 0.5765 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.5961, allocations: 83.27 kB / 0.5765 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.5961, allocations: 8.062 kB / 0.5765 GB, free: 0.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-06/0.5961, allocations: 0 / 0.5765 GB, free: 0.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5962, allocations: 314.8 kB / 0.5768 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.5963, allocations: 0 / 0.5768 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-06/0.5963, allocations: 0 / 0.5768 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.5963, allocations: 33.69 kB / 0.5769 GB, free: 488 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5963, allocations: 3.953 kB / 0.5769 GB, free: 484 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.752e-05/0.5964, allocations: 62.53 kB / 0.5769 GB, free: 412 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.5964, allocations: 41.23 kB / 0.577 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5964, allocations: 0 / 0.577 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5965, allocations: 0 / 0.577 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.5965, allocations: 0 / 0.577 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5965, allocations: 0 / 0.577 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.199e-05/0.5965, allocations: 0 / 0.577 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.5965, allocations: 3.984 kB / 0.577 GB, free: 364 kB / 378.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 () * Number of clocked 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 9.944e-05/0.5966, allocations: 139.5 kB / 0.5771 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.5966, allocations: 3.953 kB / 0.5771 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.5967, allocations: 11.06 kB / 0.5771 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.5967, allocations: 0 / 0.5771 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5967, allocations: 4 kB / 0.5771 GB, free: 184 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.5967, allocations: 3.938 kB / 0.5771 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.5968, allocations: 149.2 kB / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.5968, allocations: 0 / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.5968, allocations: 3.953 kB / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.5968, allocations: 0 / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.5969, allocations: 4 kB / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5969, allocations: 0 / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5969, allocations: 0 / 0.5773 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.909e-05/0.597, allocations: 90.33 kB / 0.5774 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.597, allocations: 81.11 kB / 0.5775 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.5971, allocations: 3.953 kB / 0.5775 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.5971, allocations: 3.938 kB / 0.5775 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.5971, allocations: 0 / 0.5775 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.5971, allocations: 4 kB / 0.5775 GB, free: 15.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.682e-05/0.5971, allocations: 75.28 kB / 0.5775 GB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.104e-06/0.5972, allocations: 4.031 kB / 0.5775 GB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006575/0.5978, allocations: 181.1 kB / 0.5777 GB, free: 15.52 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) * Number of clocked states: 0 () * 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.00113/0.599, allocations: 0.921 MB / 0.5786 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.5991, allocations: 63.39 kB / 0.5787 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5991, allocations: 0 / 0.5787 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.5991, allocations: 59.34 kB / 0.5787 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.5992, allocations: 3.953 kB / 0.5787 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.5997, allocations: 208 kB / 0.5789 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.6, allocations: 0.6692 MB / 0.5796 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.911e-06/0.6, allocations: 0 / 0.5796 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.6, allocations: 11.44 kB / 0.5796 GB, free: 13.49 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6, allocations: 0 / 0.5796 GB, free: 13.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.6191, allocations: 4.811 MB / 0.5843 GB, free: 8.711 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.6195, allocations: 221.9 kB / 0.5845 GB, free: 8.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.325, allocations: 4 kB / 0.5845 GB, free: 8.465 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat