Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008846/0.0008841, allocations: 174.9 kB / 16.72 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007641/0.0007641, allocations: 97.42 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3397/0.3397, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 16 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0006748/0.1289, allocations: 228.3 kB / 491.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1309, allocations: 1.369 MB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.131, allocations: 0 / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.131, allocations: 0 / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.131, allocations: 0 / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.1316, allocations: 91.78 kB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.361e-05/0.1316, allocations: 0 / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.1317, allocations: 0 / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.757e-05/0.1317, allocations: 3.984 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.1317, allocations: 4 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-06/0.1317, allocations: 0 / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.1319, allocations: 47.95 kB / 492.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-06/0.1319, allocations: 0 / 492.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.132, allocations: 25.7 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.021e-05/0.1321, allocations: 19.91 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1321, allocations: 4 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1321, allocations: 0 / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1321, allocations: 0 / 492.7 MB, free: 8.742 MB / 378.7 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.0003067/0.1324, allocations: 349.2 kB / 493 MB, free: 8.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1325, allocations: 11.97 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.1325, allocations: 34.75 kB / 493.1 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.1326, allocations: 8.844 kB / 493.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.985e-05/0.1327, allocations: 160.4 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1327, allocations: 384 / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1327, allocations: 384 / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.947e-05/0.1328, allocations: 37.81 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1328, allocations: 0 / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.1328, allocations: 0 / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1328, allocations: 0 / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.1329, allocations: 0 / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.133, allocations: 153.7 kB / 493.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.133, allocations: 22.5 kB / 493.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.1331, allocations: 4.859 kB / 493.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.036e-06/0.1331, allocations: 4.094 kB / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.1331, allocations: 60.2 kB / 493.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.765e-06/0.1332, allocations: 3.984 kB / 493.5 MB, free: 7.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001831/0.1333, allocations: 67.47 kB / 493.6 MB, free: 7.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1334, allocations: 85.09 kB / 493.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.247e-05/0.1334, allocations: 89.86 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1335, allocations: 25.7 kB / 493.8 MB, free: 7.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.1335, allocations: 80.14 kB / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.1335, allocations: 4 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.1335, allocations: 0 / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1336, allocations: 310.8 kB / 494.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-06/0.1337, allocations: 0 / 494.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.1337, allocations: 4 kB / 494.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.019e-05/0.1337, allocations: 68.27 kB / 494.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1337, allocations: 0 / 494.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.137e-05/0.1338, allocations: 67.33 kB / 494.3 MB, free: 6.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.1338, allocations: 33.64 kB / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1339, allocations: 0 / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1339, allocations: 0 / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.438e-06/0.1339, allocations: 4 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1339, allocations: 0 / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.1339, allocations: 4.094 kB / 494.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1339, allocations: 3.938 kB / 494.4 MB, free: 6.805 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.134, allocations: 147.5 kB / 494.5 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-06/0.134, allocations: 3.938 kB / 494.5 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.044e-05/0.1341, allocations: 3.125 kB / 494.5 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1341, allocations: 0 / 494.5 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1341, allocations: 0 / 494.5 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1341, allocations: 0 / 494.5 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.214e-05/0.1342, allocations: 145.7 kB / 494.7 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1342, allocations: 4 kB / 494.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-06/0.1342, allocations: 3.984 kB / 494.7 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.1342, allocations: 3.938 kB / 494.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1342, allocations: 0 / 494.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1342, allocations: 4 kB / 494.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1342, allocations: 0 / 494.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.416e-05/0.1343, allocations: 94.77 kB / 494.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.1344, allocations: 81.05 kB / 494.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1344, allocations: 8.031 kB / 494.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.1344, allocations: 0 / 494.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.1344, allocations: 0 / 494.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1344, allocations: 3.984 kB / 494.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.439e-05/0.1345, allocations: 75.28 kB / 494.9 MB, free: 6.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1345, allocations: 0 / 494.9 MB, free: 6.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.1347, allocations: 12 kB / 494.9 MB, free: 6.117 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005865/0.1353, allocations: 0.6724 MB / 495.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.846e-05/0.1354, allocations: 63.34 kB / 495.7 MB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1354, allocations: 4 kB / 495.7 MB, free: 5.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.1355, allocations: 55.39 kB / 495.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.1356, allocations: 4.156 kB / 495.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.1359, allocations: 138.1 kB / 495.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1361, allocations: 0.6731 MB / 496.5 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.1362, allocations: 11.42 kB / 496.6 MB, free: 4.379 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1362, allocations: 0 / 496.6 MB, free: 4.379 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.35/2.486, allocations: 0.7622 MB / 497.3 MB, free: 3.617 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestScalarFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches