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.001657/0.001658, allocations: 104.9 kB / 16.4 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.719/1.719, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2409/0.2409, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.002346/0.002346, allocations: 73.45 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1471, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.00218/0.1493, allocations: 490.7 kB / 499.5 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004336/0.1537, allocations: 2.33 MB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.1538, allocations: 0 / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.1538, allocations: 0 / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.1538, allocations: 0 / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.1568, allocations: 1.121 MB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.1569, allocations: 0 / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.157, allocations: 12 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.431e-05/0.157, allocations: 3.984 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.732e-05/0.157, allocations: 0 / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.1571, allocations: 0 / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.1588, allocations: 0.9873 MB / 0.4922 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.1588, allocations: 0 / 0.4922 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.1589, allocations: 3.984 kB / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.1595, allocations: 415.2 kB / 0.4926 GB, free: 6.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1596, allocations: 0 / 0.4926 GB, free: 6.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1596, allocations: 4 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.1596, allocations: 3.984 kB / 0.4926 GB, free: 6.949 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.0006983/0.1603, allocations: 428.5 kB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.1604, allocations: 15.89 kB / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.1604, allocations: 30.75 kB / 0.493 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.1605, allocations: 4.922 kB / 0.4931 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1606, allocations: 160.4 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1607, allocations: 384 / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.1607, allocations: 384 / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.1608, allocations: 45.77 kB / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1608, allocations: 0 / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1608, allocations: 0 / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1608, allocations: 0 / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.1609, allocations: 4 kB / 0.4933 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.161, allocations: 145.7 kB / 0.4934 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.1611, allocations: 18.61 kB / 0.4934 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.1611, allocations: 4.859 kB / 0.4934 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.1612, allocations: 4 kB / 0.4934 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.761e-05/0.1612, allocations: 64.2 kB / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1612, allocations: 7.875 kB / 0.4935 GB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001976/0.1614, allocations: 63.45 kB / 0.4935 GB, free: 5.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.1615, allocations: 77.11 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.1616, allocations: 89.86 kB / 0.4937 GB, free: 5.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1616, allocations: 29.7 kB / 0.4937 GB, free: 5.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.1617, allocations: 84.27 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.1617, allocations: 4 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.1617, allocations: 9.719 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1619, allocations: 318.8 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.1619, allocations: 0 / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.1619, allocations: 3.984 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.815e-05/0.162, allocations: 64.2 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.162, allocations: 64 / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.726e-05/0.1621, allocations: 71.39 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.1621, allocations: 33.64 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1622, allocations: 0 / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1622, allocations: 3.984 kB / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1622, allocations: 0 / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1622, allocations: 4 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.1622, allocations: 0 / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1622, allocations: 4 kB / 0.4943 GB, free: 4.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.1624, allocations: 147.5 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.1624, allocations: 3.938 kB / 0.4945 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.385e-05/0.1624, allocations: 3.125 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1624, allocations: 0 / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1624, allocations: 0 / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1624, allocations: 0 / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.1626, allocations: 157.6 kB / 0.4946 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1626, allocations: 0 / 0.4946 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-06/0.1626, allocations: 0 / 0.4946 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1626, allocations: 7.875 kB / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1626, allocations: 0 / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1626, allocations: 4 kB / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1626, allocations: 0 / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.1627, allocations: 90.83 kB / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.1628, allocations: 81.05 kB / 0.4948 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1628, allocations: 3.938 kB / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-06/0.1628, allocations: 4 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.1629, allocations: 0 / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1629, allocations: 8.016 kB / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.77e-05/0.1629, allocations: 75.28 kB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1629, allocations: 0 / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.1634, allocations: 139.6 kB / 0.495 GB, free: 4.086 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.1645, allocations: 0.893 MB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.1646, allocations: 59.39 kB / 0.4959 GB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1646, allocations: 0 / 0.4959 GB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.1647, allocations: 59.47 kB / 0.496 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1648, allocations: 4 kB / 0.496 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.1653, allocations: 190 kB / 0.4962 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1656, allocations: 0.669 MB / 0.4968 GB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.753e-06/0.1656, allocations: 4 kB / 0.4968 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.1657, allocations: 7.438 kB / 0.4968 GB, free: 2.082 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1657, allocations: 0 / 0.4968 GB, free: 2.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.1974, allocations: 5.305 MB / 0.502 GB, free: 12.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.454, allocations: 19.14 kB / 0.502 GB, free: 12.75 MB / 398.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/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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches