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.001064/0.001064, allocations: 104.4 kB / 16.41 MB, free: 6.488 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.001041/0.001041, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.526/1.526, allocations: 205.1 MB / 223.2 MB, free: 12.09 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.2674/0.2674, allocations: 43.52 MB / 314.1 MB, free: 448 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.002162/0.002162, allocations: 66.25 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1473, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.002082/0.1495, allocations: 478.8 kB / 499.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.1538, allocations: 2.322 MB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.1538, allocations: 0 / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.1539, allocations: 4 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.763e-06/0.1539, allocations: 0 / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.1572, allocations: 1.121 MB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.1573, allocations: 3.938 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.1574, allocations: 7.984 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.1574, allocations: 4 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.488e-05/0.1574, allocations: 0 / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1574, allocations: 3.984 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.1595, allocations: 0.9873 MB / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1596, allocations: 0 / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.1596, allocations: 3.938 kB / 0.4922 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1607, allocations: 423.6 kB / 0.4926 GB, free: 6.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1607, allocations: 0 / 0.4926 GB, free: 6.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1607, allocations: 0 / 0.4926 GB, free: 6.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1607, allocations: 0 / 0.4926 GB, free: 6.945 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.0005673/0.1613, allocations: 437.1 kB / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1613, allocations: 15.89 kB / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/0.1614, allocations: 30.75 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.1614, allocations: 0.9375 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1615, allocations: 160.4 kB / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1616, allocations: 384 / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1616, allocations: 384 / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1617, allocations: 45.75 kB / 0.4932 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1617, allocations: 4 kB / 0.4932 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1617, allocations: 3.984 kB / 0.4933 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1617, allocations: 0 / 0.4933 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.1618, allocations: 4 kB / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1619, allocations: 141.7 kB / 0.4934 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.358e-05/0.162, allocations: 14.58 kB / 0.4934 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.162, allocations: 12.89 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.162, allocations: 0 / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.1621, allocations: 72.19 kB / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 3.276e-06/0.1621, allocations: 0 / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001936/0.1623, allocations: 63.34 kB / 0.4935 GB, free: 5.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.1625, allocations: 77.11 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.409e-05/0.1625, allocations: 89.86 kB / 0.4937 GB, free: 5.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1625, allocations: 33.64 kB / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1627, allocations: 80.14 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.1627, allocations: 128 / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1627, allocations: 21.7 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1629, allocations: 314.8 kB / 0.4941 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.1629, allocations: 0 / 0.4941 GB, free: 5.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.1629, allocations: 3.938 kB / 0.4941 GB, free: 5.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.163, allocations: 60.27 kB / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.163, allocations: 0 / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.488e-05/0.1631, allocations: 67.39 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.1631, allocations: 41.02 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1631, allocations: 0 / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1631, allocations: 0 / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.1631, allocations: 0 / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1632, allocations: 0 / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.1632, allocations: 8 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1632, allocations: 0 / 0.4943 GB, free: 4.902 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.0001017/0.1633, allocations: 135.5 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.1633, allocations: 15.86 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.1634, allocations: 7.125 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1634, allocations: 0 / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1634, allocations: 0 / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1634, allocations: 0 / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1635, allocations: 141.7 kB / 0.4946 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1635, allocations: 4 kB / 0.4946 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.1635, allocations: 0 / 0.4946 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.1635, allocations: 7.922 kB / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1636, allocations: 0 / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1636, allocations: 0 / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1636, allocations: 0 / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1638, allocations: 94.84 kB / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1639, allocations: 85.03 kB / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1639, allocations: 0 / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.1639, allocations: 7.938 kB / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.1639, allocations: 0 / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1639, allocations: 0 / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1641, allocations: 75.28 kB / 0.4949 GB, free: 4.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1641, allocations: 7.969 kB / 0.4949 GB, free: 4.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005711/0.1647, allocations: 140 kB / 0.495 GB, free: 4.082 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.001221/0.1659, allocations: 0.8858 MB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.166, allocations: 55.41 kB / 0.4959 GB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1661, allocations: 0 / 0.4959 GB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.1661, allocations: 59.34 kB / 0.496 GB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.1662, allocations: 0 / 0.496 GB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.1667, allocations: 198.5 kB / 0.4962 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.1672, allocations: 0.6729 MB / 0.4968 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.524e-06/0.1673, allocations: 0 / 0.4968 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.1673, allocations: 7.438 kB / 0.4968 GB, free: 2.082 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1673, allocations: 0 / 0.4968 GB, free: 2.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.1952, allocations: 5.314 MB / 0.502 GB, free: 12.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.136, allocations: 11.92 kB / 0.502 GB, free: 12.74 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