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.001569/0.001569, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.001584/0.001584, 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.516/1.516, 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.2257/0.2257, allocations: 43.53 MB / 314.1 MB, free: 468 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.001513/0.001513, allocations: 67.91 kB / 441.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 57.8 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001673/0.1244, allocations: 474.9 kB / 499.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.1278, allocations: 2.322 MB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.1279, allocations: 4 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.128, allocations: 0 / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.128, allocations: 0 / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.1309, allocations: 1.117 MB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.131, allocations: 7.938 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.131, allocations: 0 / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.554e-05/0.1311, allocations: 7.938 kB / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.073e-05/0.1311, allocations: 0 / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.1311, allocations: 0 / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.133, allocations: 0.9912 MB / 0.4922 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.133, allocations: 0 / 0.4922 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.133, allocations: 4 kB / 0.4922 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009684/0.134, allocations: 427.5 kB / 0.4926 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.134, allocations: 0 / 0.4926 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.134, allocations: 0 / 0.4926 GB, free: 6.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1341, allocations: 4 kB / 0.4926 GB, free: 6.977 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.0005595/0.1346, allocations: 437.1 kB / 0.493 GB, free: 6.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1347, allocations: 11.89 kB / 0.493 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.1347, allocations: 30.75 kB / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.1348, allocations: 0.9375 kB / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1349, allocations: 160.4 kB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1349, allocations: 4.375 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1349, allocations: 384 / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.135, allocations: 29.83 kB / 0.4932 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1351, allocations: 4 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1351, allocations: 4 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1351, allocations: 0 / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.792e-05/0.1351, allocations: 7.922 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.1354, allocations: 149.6 kB / 0.4934 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.1354, allocations: 22.59 kB / 0.4934 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.1354, allocations: 4.859 kB / 0.4934 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-06/0.1354, allocations: 0 / 0.4934 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.1355, allocations: 64.2 kB / 0.4935 GB, free: 5.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.665e-06/0.1355, allocations: 4.062 kB / 0.4935 GB, free: 5.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002104/0.1357, allocations: 71.27 kB / 0.4935 GB, free: 5.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.1358, allocations: 81.11 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.1359, allocations: 89.86 kB / 0.4937 GB, free: 5.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1359, allocations: 25.7 kB / 0.4937 GB, free: 5.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.1359, allocations: 80.14 kB / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.1359, allocations: 4.125 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.136, allocations: 13.72 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1361, allocations: 314.8 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.1361, allocations: 4 kB / 0.4941 GB, free: 5.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-06/0.1361, allocations: 0 / 0.4941 GB, free: 5.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/0.1362, allocations: 60.27 kB / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1362, allocations: 0 / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.414e-05/0.1363, allocations: 63.44 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.1364, allocations: 41.62 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1364, allocations: 0 / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1364, allocations: 4 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1364, allocations: 0 / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1364, allocations: 0 / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.1364, allocations: 0 / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.1364, allocations: 0 / 0.4943 GB, free: 4.945 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.563e-05/0.1365, allocations: 143.5 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.1366, allocations: 3.938 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.1366, allocations: 7.125 kB / 0.4944 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1366, allocations: 0 / 0.4944 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1366, allocations: 3.984 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1366, allocations: 4 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.1367, allocations: 145.7 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1367, allocations: 0 / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.1367, allocations: 0 / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1368, allocations: 3.938 kB / 0.4946 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1368, allocations: 0 / 0.4946 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1368, allocations: 0 / 0.4946 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1368, allocations: 4 kB / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.1369, allocations: 94.77 kB / 0.4947 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.1369, allocations: 81.05 kB / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.137, allocations: 4 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.137, allocations: 11.86 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.137, allocations: 0 / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.137, allocations: 0 / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.686e-05/0.137, allocations: 79.31 kB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1371, allocations: 0 / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000519/0.1376, allocations: 140 kB / 0.495 GB, free: 4.121 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.001028/0.1386, allocations: 0.8935 MB / 0.4959 GB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1387, allocations: 59.41 kB / 0.4959 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1387, allocations: 4 kB / 0.4959 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.1388, allocations: 51.41 kB / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.1389, allocations: 11.56 kB / 0.496 GB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.1393, allocations: 194.3 kB / 0.4962 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1397, allocations: 0.669 MB / 0.4968 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.035e-05/0.1397, allocations: 0 / 0.4968 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.1398, allocations: 7.438 kB / 0.4968 GB, free: 2.117 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1398, allocations: 0 / 0.4968 GB, free: 2.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.1685, allocations: 5.317 MB / 0.502 GB, free: 12.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.156, allocations: 12.05 kB / 0.502 GB, free: 12.77 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