Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",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.001291/0.001291, allocations: 106 kB / 16.41 MB, free: 6.508 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.001229/0.001229, allocations: 194.2 kB / 17.34 MB, free: 5.738 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.404/1.404, 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.2087/0.2087, allocations: 43.52 MB / 314.1 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.002012/0.002012, allocations: 73.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1103, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001555/0.1119, allocations: 0.4908 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1139, allocations: 1.427 MB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.1139, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.114, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.114, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.1145, allocations: 103.7 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.604e-05/0.1146, allocations: 8 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.1146, allocations: 7.984 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.1147, allocations: 0 / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.1147, allocations: 7.984 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.605e-06/0.1147, allocations: 0 / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.115, allocations: 59.89 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.115, allocations: 7.969 kB / 0.4894 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.1151, allocations: 4 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1152, allocations: 23.92 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1152, allocations: 4 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1152, allocations: 0 / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1152, allocations: 0 / 0.4895 GB, free: 10.14 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.0003567/0.1155, allocations: 349.2 kB / 0.4898 GB, free: 9.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1156, allocations: 15.89 kB / 0.4898 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.1156, allocations: 30.75 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.1157, allocations: 0.9375 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1158, allocations: 160.4 kB / 0.49 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1158, allocations: 384 / 0.49 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.1158, allocations: 12.31 kB / 0.49 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.754e-05/0.1159, allocations: 29.83 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1159, allocations: 3.984 kB / 0.4901 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1159, allocations: 0 / 0.4901 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1159, allocations: 0 / 0.4901 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.959e-05/0.1159, allocations: 11.94 kB / 0.4901 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.1161, allocations: 145.7 kB / 0.4902 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.833e-05/0.1161, allocations: 18.61 kB / 0.4902 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.1162, allocations: 8.859 kB / 0.4902 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.1162, allocations: 0 / 0.4902 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.1162, allocations: 64.19 kB / 0.4903 GB, free: 9.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.575e-06/0.1162, allocations: 3.984 kB / 0.4903 GB, free: 9.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001654/0.1164, allocations: 67.41 kB / 0.4904 GB, free: 9.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.1165, allocations: 77.11 kB / 0.4904 GB, free: 8.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.1165, allocations: 93.86 kB / 0.4905 GB, free: 8.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1166, allocations: 29.83 kB / 0.4906 GB, free: 8.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.1166, allocations: 80.14 kB / 0.4906 GB, free: 8.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.1166, allocations: 0 / 0.4906 GB, free: 8.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.1166, allocations: 13.7 kB / 0.4906 GB, free: 8.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1168, allocations: 318.8 kB / 0.4909 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.1168, allocations: 0 / 0.4909 GB, free: 8.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-06/0.1168, allocations: 3.938 kB / 0.4909 GB, free: 8.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.1169, allocations: 64.33 kB / 0.491 GB, free: 8.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1169, allocations: 0 / 0.491 GB, free: 8.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.957e-05/0.117, allocations: 67.33 kB / 0.4911 GB, free: 8.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.117, allocations: 33.64 kB / 0.4911 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.117, allocations: 0 / 0.4911 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.117, allocations: 0 / 0.4911 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.117, allocations: 0 / 0.4911 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.117, allocations: 4 kB / 0.4911 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.117, allocations: 0 / 0.4911 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1171, allocations: 0 / 0.4911 GB, free: 8.188 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.66e-05/0.1172, allocations: 147.5 kB / 0.4913 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-06/0.1172, allocations: 3.938 kB / 0.4913 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.356e-05/0.1172, allocations: 7.109 kB / 0.4913 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.1172, allocations: 0 / 0.4913 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1172, allocations: 0 / 0.4913 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1172, allocations: 0 / 0.4913 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.1173, allocations: 145.7 kB / 0.4914 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1173, allocations: 0 / 0.4914 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1173, allocations: 0 / 0.4914 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1173, allocations: 3.938 kB / 0.4914 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1174, allocations: 7.938 kB / 0.4914 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1174, allocations: 3.984 kB / 0.4914 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1174, allocations: 0 / 0.4914 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.701e-05/0.1175, allocations: 90.78 kB / 0.4915 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.1175, allocations: 85.03 kB / 0.4916 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1175, allocations: 0 / 0.4916 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.1176, allocations: 4 kB / 0.4916 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.1176, allocations: 4.031 kB / 0.4916 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1176, allocations: 4 kB / 0.4916 GB, free: 7.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.918e-05/0.1176, allocations: 79.28 kB / 0.4917 GB, free: 7.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1176, allocations: 0 / 0.4917 GB, free: 7.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1179, allocations: 12 kB / 0.4917 GB, free: 7.488 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.0006092/0.1185, allocations: 0.6558 MB / 0.4923 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.924e-05/0.1186, allocations: 67.33 kB / 0.4924 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.1186, allocations: 4 kB / 0.4924 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.1186, allocations: 51.41 kB / 0.4924 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1188, allocations: 4 kB / 0.4924 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.119, allocations: 114.5 kB / 0.4926 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1193, allocations: 0.673 MB / 0.4932 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.1193, allocations: 0 / 0.4932 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.1193, allocations: 7.438 kB / 0.4932 GB, free: 5.789 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1193, allocations: 0 / 0.4932 GB, free: 5.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.1402, allocations: 1.321 MB / 0.4945 GB, free: 4.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.184, allocations: 3.938 kB / 0.4945 GB, free: 4.469 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches