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: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 111.7 kB / 17.09 MB, free: 5.957 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.001927/0.001927, allocations: 199.4 kB / 18.03 MB, free: 5.031 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.516/1.516, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2261/0.2261, allocations: 43.52 MB / 314.8 MB, free: 456 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.002701/0.002702, allocations: 65.45 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1535, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001888/0.1554, allocations: 483 kB / 0.489 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.1592, allocations: 2.325 MB / 0.4913 GB, free: 9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.1592, allocations: 0 / 0.4913 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.1593, allocations: 0 / 0.4913 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-06/0.1593, allocations: 4 kB / 0.4913 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.1624, allocations: 1.121 MB / 0.4924 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.733e-05/0.1625, allocations: 7.922 kB / 0.4924 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.1625, allocations: 0 / 0.4924 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.1626, allocations: 4 kB / 0.4924 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/0.1626, allocations: 4 kB / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1626, allocations: 0 / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.1644, allocations: 0.995 MB / 0.4933 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.1644, allocations: 0 / 0.4933 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.1645, allocations: 0 / 0.4933 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.1653, allocations: 419.2 kB / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1653, allocations: 0 / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1653, allocations: 0 / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1653, allocations: 0 / 0.4937 GB, free: 6.449 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.0004933/0.1658, allocations: 432.5 kB / 0.4941 GB, free: 5.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1659, allocations: 11.89 kB / 0.4942 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.1659, allocations: 4.922 kB / 0.4942 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.98e-05/0.1661, allocations: 168.3 kB / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1661, allocations: 4.375 kB / 0.4943 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1661, allocations: 384 / 0.4943 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1662, allocations: 34 kB / 0.4944 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1662, allocations: 4 kB / 0.4944 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1662, allocations: 0 / 0.4944 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1662, allocations: 3.938 kB / 0.4944 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.1663, allocations: 4 kB / 0.4944 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.1664, allocations: 145.7 kB / 0.4945 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.1665, allocations: 22.55 kB / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.1665, allocations: 4.859 kB / 0.4945 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.1665, allocations: 0 / 0.4945 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.1666, allocations: 72.25 kB / 0.4946 GB, free: 5.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.1666, allocations: 0 / 0.4946 GB, free: 5.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001918/0.1668, allocations: 59.41 kB / 0.4947 GB, free: 5.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.1668, allocations: 85.17 kB / 0.4947 GB, free: 5.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.647e-05/0.1669, allocations: 89.86 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1669, allocations: 25.7 kB / 0.4949 GB, free: 5.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.1669, allocations: 80.14 kB / 0.4949 GB, free: 5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.167, allocations: 0 / 0.4949 GB, free: 5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.167, allocations: 21.7 kB / 0.495 GB, free: 4.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1671, allocations: 314.8 kB / 0.4953 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.1672, allocations: 0 / 0.4953 GB, free: 4.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.1672, allocations: 4 kB / 0.4953 GB, free: 4.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.653e-05/0.1672, allocations: 60.27 kB / 0.4953 GB, free: 4.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1672, allocations: 0 / 0.4953 GB, free: 4.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.34e-05/0.1673, allocations: 67.39 kB / 0.4954 GB, free: 4.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.1674, allocations: 29.7 kB / 0.4954 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1674, allocations: 7.938 kB / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1674, allocations: 0 / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.1674, allocations: 0 / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1674, allocations: 0 / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.1674, allocations: 4.094 kB / 0.4954 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1675, allocations: 3.938 kB / 0.4954 GB, free: 4.449 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 9.288e-05/0.1676, allocations: 139.5 kB / 0.4956 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.1676, allocations: 3.984 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.1676, allocations: 7.062 kB / 0.4956 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1676, allocations: 0 / 0.4956 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1676, allocations: 4 kB / 0.4956 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.1677, allocations: 85.05 kB / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1677, allocations: 0 / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.1677, allocations: 4 kB / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1677, allocations: 0 / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001525/0.1679, allocations: 194.1 kB / 0.4958 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000177/0.1681, allocations: 244.4 kB / 0.4961 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.137e-05/0.1681, allocations: 4 kB / 0.4961 GB, free: 3.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.11e-05/0.1681, allocations: 79.34 kB / 0.4962 GB, free: 3.613 MB / 382.1 MB Notification: Performance of Backend: time 2.71e-07/0.1682, allocations: 0 / 0.4962 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.1693, allocations: 419.5 kB / 0.4966 GB, free: 3.188 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005695/0.1699, allocations: 0.5832 MB / 0.4971 GB, free: 2.543 MB / 382.1 MB Notification: Performance of Templates: time 0.009838/0.1798, allocations: 4.295 MB / 0.5013 GB, free: 14.24 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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