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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007832/0.0007831, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 173.8 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4135/0.4135, allocations: 43.55 MB / 314.6 MB, free: 8.809 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005473/0.0005477, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1332, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0006205/0.1339, allocations: 208.5 kB / 443.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.1369, allocations: 2.161 MB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.137, allocations: 0 / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.109e-05/0.137, allocations: 0 / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-06/0.137, allocations: 4 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.1393, allocations: 0.9078 MB / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.439e-05/0.1393, allocations: 0 / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.1394, allocations: 3.984 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.1394, allocations: 0 / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.264e-05/0.1394, allocations: 4 kB / 446.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.1395, allocations: 0 / 446.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.1411, allocations: 0.8975 MB / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-06/0.1412, allocations: 0 / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.1412, allocations: 25.7 kB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.1418, allocations: 255.5 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1418, allocations: 0 / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1418, allocations: 0 / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1418, allocations: 0 / 447.3 MB, free: 8.484 MB / 382.1 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.0005239/0.1424, allocations: 429.3 kB / 447.7 MB, free: 8.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1424, allocations: 12.03 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.1425, allocations: 34.56 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1425, allocations: 7.859 kB / 447.8 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.1426, allocations: 159.1 kB / 448 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1426, allocations: 4 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1426, allocations: 0 / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1427, allocations: 33.62 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1428, allocations: 3.938 kB / 448 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1428, allocations: 4 kB / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1428, allocations: 0 / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.1428, allocations: 11.89 kB / 448 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.143, allocations: 145.6 kB / 448.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.751e-05/0.1431, allocations: 26.61 kB / 448.2 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.1431, allocations: 4.859 kB / 448.2 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.1431, allocations: 0 / 448.2 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.1432, allocations: 68.25 kB / 448.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1432, allocations: 4 kB / 448.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000194/0.1434, allocations: 55.41 kB / 448.3 MB, free: 7.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.1434, allocations: 85.11 kB / 448.4 MB, free: 7.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.66e-05/0.1435, allocations: 89.86 kB / 448.5 MB, free: 7.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1435, allocations: 25.7 kB / 448.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.1435, allocations: 80.14 kB / 448.6 MB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1436, allocations: 0 / 448.6 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.1436, allocations: 0 / 448.6 MB, free: 6.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1437, allocations: 318.9 kB / 448.9 MB, free: 6.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.1437, allocations: 8 kB / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.1437, allocations: 0 / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.1438, allocations: 29.64 kB / 448.9 MB, free: 6.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1438, allocations: 0 / 448.9 MB, free: 6.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.255e-05/0.1439, allocations: 63.41 kB / 449 MB, free: 6.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.1439, allocations: 33.69 kB / 449 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1439, allocations: 4 kB / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1439, allocations: 0 / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.1439, allocations: 0 / 449 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.144, allocations: 4.094 kB / 449 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.144, allocations: 0 / 449 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.144, allocations: 0 / 449 MB, free: 6.508 MB / 382.1 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.515e-05/0.1441, allocations: 143.5 kB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.1441, allocations: 0 / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.292e-05/0.1441, allocations: 3.125 kB / 449.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1441, allocations: 0 / 449.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1441, allocations: 3.984 kB / 449.2 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1442, allocations: 4 kB / 449.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.985e-05/0.1443, allocations: 153.6 kB / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1443, allocations: 0 / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-07/0.1443, allocations: 0 / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1443, allocations: 0 / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1443, allocations: 3.984 kB / 449.3 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1443, allocations: 7.938 kB / 449.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1443, allocations: 4 kB / 449.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1444, allocations: 94.78 kB / 449.4 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.1445, allocations: 85.14 kB / 449.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1445, allocations: 3.938 kB / 449.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.199e-05/0.1445, allocations: 3.984 kB / 449.5 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.1445, allocations: 3.984 kB / 449.5 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1445, allocations: 0 / 449.5 MB, free: 5.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.1446, allocations: 75.28 kB / 449.6 MB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1446, allocations: 4 kB / 449.6 MB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004618/0.1451, allocations: 132 kB / 449.7 MB, free: 5.688 MB / 382.1 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.001115/0.1462, allocations: 0.887 MB / 450.6 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.936e-05/0.1463, allocations: 59.41 kB / 450.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1463, allocations: 0 / 450.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.1463, allocations: 59.39 kB / 450.7 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1465, allocations: 0 / 450.7 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1469, allocations: 168.3 kB / 450.9 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1471, allocations: 0.6694 MB / 451.6 MB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.864e-06/0.1471, allocations: 4 kB / 451.6 MB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.1472, allocations: 11.38 kB / 451.6 MB, free: 3.719 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1472, allocations: 4 kB / 451.6 MB, free: 3.715 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2169/0.3641, allocations: 4.891 MB / 456.5 MB, free: 42.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.3643, allocations: 221.8 kB / 456.7 MB, free: 42.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.186, allocations: 0 / 456.7 MB, free: 42.48 MB / 382.1 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) Environment - environmentSimulation: 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