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.001113/0.001113, allocations: 103.1 kB / 16.4 MB, free: 6.492 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.001115/0.001115, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.372/1.372, 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.2113/0.2113, allocations: 43.51 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.001545/0.001545, allocations: 69.47 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1073, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001661/0.109, allocations: 0.491 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1111, allocations: 1.423 MB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.1111, allocations: 0 / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.1111, allocations: 0 / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.1112, allocations: 0 / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.1117, allocations: 107.7 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.857e-05/0.1118, allocations: 7.984 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.1118, allocations: 3.984 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.1119, allocations: 4 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.805e-05/0.1119, allocations: 0 / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.1119, allocations: 0 / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.1122, allocations: 67.92 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.243e-06/0.1122, allocations: 0 / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.1122, allocations: 0 / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.628e-05/0.1123, allocations: 27.91 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1123, allocations: 4 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1123, allocations: 0 / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1123, allocations: 0 / 0.4895 GB, free: 10.16 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.0002961/0.1126, allocations: 349.2 kB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1127, allocations: 15.89 kB / 0.4898 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.1127, allocations: 30.75 kB / 0.4898 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.1128, allocations: 0.9375 kB / 0.4898 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/0.1128, allocations: 160.7 kB / 0.49 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1129, allocations: 8.25 kB / 0.49 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1129, allocations: 4.375 kB / 0.49 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.113, allocations: 37.81 kB / 0.49 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.113, allocations: 0 / 0.49 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.113, allocations: 0 / 0.49 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.113, allocations: 0 / 0.49 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.113, allocations: 4 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.1131, allocations: 145.7 kB / 0.4902 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.899e-05/0.1132, allocations: 18.52 kB / 0.4902 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.1132, allocations: 12.95 kB / 0.4902 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.1132, allocations: 0 / 0.4902 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.1133, allocations: 64.19 kB / 0.4903 GB, free: 9.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1133, allocations: 0 / 0.4903 GB, free: 9.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001584/0.1135, allocations: 63.41 kB / 0.4903 GB, free: 9.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1135, allocations: 77.11 kB / 0.4904 GB, free: 8.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.1136, allocations: 89.86 kB / 0.4905 GB, free: 8.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1136, allocations: 25.83 kB / 0.4905 GB, free: 8.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.1136, allocations: 88.14 kB / 0.4906 GB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1136, allocations: 3.938 kB / 0.4906 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.1137, allocations: 13.7 kB / 0.4906 GB, free: 8.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1138, allocations: 314.8 kB / 0.4909 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.1138, allocations: 7.938 kB / 0.4909 GB, free: 8.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.1138, allocations: 3.938 kB / 0.4909 GB, free: 8.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.1139, allocations: 60.27 kB / 0.491 GB, free: 8.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1139, allocations: 4.062 kB / 0.491 GB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.317e-05/0.114, allocations: 67.38 kB / 0.4911 GB, free: 8.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.114, allocations: 33.64 kB / 0.4911 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1141, allocations: 0 / 0.4911 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1141, allocations: 0 / 0.4911 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.1141, allocations: 0 / 0.4911 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1141, allocations: 0 / 0.4911 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.1141, allocations: 4 kB / 0.4911 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1141, allocations: 4 kB / 0.4911 GB, free: 8.199 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.884e-05/0.1142, allocations: 143.5 kB / 0.4912 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.1143, allocations: 11.92 kB / 0.4913 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.217e-05/0.1143, allocations: 3.125 kB / 0.4913 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1143, allocations: 0 / 0.4913 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1143, allocations: 0 / 0.4913 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1143, allocations: 0 / 0.4913 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/0.1144, allocations: 141.7 kB / 0.4914 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1144, allocations: 4 kB / 0.4914 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1144, allocations: 4 kB / 0.4914 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1144, allocations: 11.86 kB / 0.4914 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1144, allocations: 4 kB / 0.4914 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1145, allocations: 0 / 0.4914 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1145, allocations: 0 / 0.4914 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.842e-05/0.1146, allocations: 86.84 kB / 0.4915 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.1146, allocations: 85.03 kB / 0.4916 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1146, allocations: 0 / 0.4916 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-06/0.1146, allocations: 0 / 0.4916 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.1147, allocations: 8.031 kB / 0.4916 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.1147, allocations: 7.938 kB / 0.4916 GB, free: 7.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.579e-05/0.1147, allocations: 75.28 kB / 0.4917 GB, free: 7.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1147, allocations: 0 / 0.4917 GB, free: 7.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.1149, allocations: 12 kB / 0.4917 GB, free: 7.5 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.0004956/0.1154, allocations: 0.6582 MB / 0.4923 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.016e-05/0.1155, allocations: 67.33 kB / 0.4924 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1155, allocations: 0 / 0.4924 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.175e-05/0.1156, allocations: 59.34 kB / 0.4924 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.1157, allocations: 4 kB / 0.4924 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.116, allocations: 122.5 kB / 0.4926 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1162, allocations: 0.673 MB / 0.4932 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.1163, allocations: 0 / 0.4932 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.156e-05/0.1163, allocations: 7.438 kB / 0.4932 GB, free: 5.789 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1163, allocations: 0 / 0.4932 GB, free: 5.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.1336, allocations: 1.325 MB / 0.4945 GB, free: 4.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.658, allocations: 7.984 kB / 0.4945 GB, free: 4.457 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