Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",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.0008445/0.0008448, allocations: 96.47 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.0008492/0.0008493, allocations: 176.8 kB / 16.58 MB, free: 6.863 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.477/1.477, allocations: 205.4 MB / 222.8 MB, free: 5.887 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.4155/0.4155, allocations: 43.54 MB / 314.6 MB, free: 8.652 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.0006183/0.0006186, allocations: 19.98 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1412, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0006206/0.1419, allocations: 204.5 kB / 443.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.1453, allocations: 2.161 MB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.1454, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.1454, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.586e-06/0.1455, allocations: 3.938 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.1485, allocations: 0.9001 MB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.167e-05/0.1485, allocations: 7.922 kB / 446.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.1486, allocations: 0 / 446.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.1486, allocations: 0 / 446.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.884e-05/0.1486, allocations: 7.938 kB / 446.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.1487, allocations: 0 / 446.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.1505, allocations: 0.8858 MB / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.1505, allocations: 7.984 kB / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.1505, allocations: 25.7 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005689/0.1511, allocations: 259.5 kB / 447.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1511, allocations: 0 / 447.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1511, allocations: 3.938 kB / 447.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1511, allocations: 0 / 447.3 MB, free: 8.5 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.0004921/0.1516, allocations: 429.3 kB / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1517, allocations: 8.031 kB / 447.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.1517, allocations: 30.56 kB / 447.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1518, allocations: 11.86 kB / 447.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1519, allocations: 163.1 kB / 448 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1519, allocations: 0 / 448 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1519, allocations: 7.984 kB / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.49e-05/0.152, allocations: 29.64 kB / 448 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.152, allocations: 0 / 448 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.152, allocations: 0 / 448 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1521, allocations: 4 kB / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.1521, allocations: 7.891 kB / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.1522, allocations: 153.6 kB / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.1523, allocations: 26.61 kB / 448.2 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.1523, allocations: 4.859 kB / 448.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.1523, allocations: 0 / 448.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.1524, allocations: 56.27 kB / 448.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1524, allocations: 0 / 448.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001958/0.1526, allocations: 67.39 kB / 448.3 MB, free: 7.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1526, allocations: 89.23 kB / 448.4 MB, free: 7.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.518e-05/0.1527, allocations: 89.86 kB / 448.5 MB, free: 7.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1527, allocations: 25.7 kB / 448.5 MB, free: 7.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.1527, allocations: 80.14 kB / 448.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.1528, allocations: 0 / 448.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.1528, allocations: 0 / 448.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1529, allocations: 314.8 kB / 448.9 MB, free: 6.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.1529, allocations: 4 kB / 448.9 MB, free: 6.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.1529, allocations: 4 kB / 448.9 MB, free: 6.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.153, allocations: 25.7 kB / 448.9 MB, free: 6.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.153, allocations: 0 / 448.9 MB, free: 6.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.288e-05/0.153, allocations: 67.39 kB / 449 MB, free: 6.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.1531, allocations: 33.64 kB / 449 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1531, allocations: 3.938 kB / 449 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1531, allocations: 8 kB / 449 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.1531, allocations: 0 / 449 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1531, allocations: 0 / 449 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.1531, allocations: 96 / 449 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1532, allocations: 4 kB / 449 MB, free: 6.52 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 0.0001004/0.1533, allocations: 147.5 kB / 449.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.1533, allocations: 0 / 449.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.004e-05/0.1533, allocations: 3.125 kB / 449.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.1533, allocations: 0 / 449.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1533, allocations: 0 / 449.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1533, allocations: 0 / 449.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.809e-05/0.1534, allocations: 149.6 kB / 449.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1534, allocations: 3.984 kB / 449.3 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1534, allocations: 4 kB / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1534, allocations: 0 / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1535, allocations: 0 / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1535, allocations: 3.938 kB / 449.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1535, allocations: 4 kB / 449.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.415e-05/0.1536, allocations: 98.72 kB / 449.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.1536, allocations: 77.11 kB / 449.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1536, allocations: 4 kB / 449.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.1536, allocations: 4.031 kB / 449.5 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.1537, allocations: 0 / 449.5 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1537, allocations: 0 / 449.5 MB, free: 5.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.512e-05/0.1537, allocations: 75.28 kB / 449.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1537, allocations: 0 / 449.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003605/0.1541, allocations: 136 kB / 449.7 MB, free: 5.715 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.0009246/0.155, allocations: 0.8904 MB / 450.6 MB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1551, allocations: 71.33 kB / 450.7 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1551, allocations: 0 / 450.7 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/0.1552, allocations: 55.41 kB / 450.7 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.1553, allocations: 0 / 450.7 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.1557, allocations: 168.3 kB / 450.9 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.156, allocations: 0.677 MB / 451.6 MB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.362e-06/0.156, allocations: 0 / 451.6 MB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.156, allocations: 7.438 kB / 451.6 MB, free: 3.738 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.156, allocations: 4.125 kB / 451.6 MB, free: 3.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2348/0.3908, allocations: 4.891 MB / 456.5 MB, free: 42.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001201/0.391, allocations: 224 kB / 456.7 MB, free: 42.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.216, allocations: 2.562 kB / 456.7 MB, free: 42.7 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat