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: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002241/0.00224, allocations: 188.2 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001111/0.001111, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.29/0.29, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004643, allocations: 16 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0006891/0.1151, allocations: 216.7 kB / 490.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.1176, allocations: 1.358 MB / 491.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.1176, allocations: 0 / 491.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.1177, allocations: 0 / 491.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.471e-06/0.1177, allocations: 0 / 491.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006134/0.1183, allocations: 87.66 kB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.883e-05/0.1183, allocations: 4 kB / 491.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.1184, allocations: 3.984 kB / 491.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.62e-05/0.1184, allocations: 0 / 491.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.552e-05/0.1185, allocations: 3.938 kB / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1185, allocations: 0 / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.1187, allocations: 39.97 kB / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-06/0.1187, allocations: 4 kB / 491.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.1188, allocations: 25.7 kB / 492 MB, free: 7.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.39e-05/0.1189, allocations: 23.95 kB / 492 MB, free: 7.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1189, allocations: 0 / 492 MB, free: 7.566 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1189, allocations: 4 kB / 492 MB, free: 7.562 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1189, allocations: 0 / 492 MB, free: 7.562 MB / 330.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.0003375/0.1193, allocations: 337.1 kB / 492.3 MB, free: 7.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1193, allocations: 8.031 kB / 492.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.1193, allocations: 0 / 492.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1195, allocations: 175 kB / 492.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1195, allocations: 0 / 492.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1195, allocations: 0 / 492.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.439e-05/0.1196, allocations: 37.58 kB / 492.5 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1196, allocations: 0 / 492.5 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1197, allocations: 3.938 kB / 492.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1197, allocations: 0 / 492.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.736e-05/0.1197, allocations: 0 / 492.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1199, allocations: 153.6 kB / 492.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.1199, allocations: 22.61 kB / 492.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.1199, allocations: 0 / 492.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.12, allocations: 56.27 kB / 492.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.12, allocations: 0 / 492.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.1202, allocations: 71.39 kB / 492.8 MB, free: 6.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.1203, allocations: 81.11 kB / 492.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.807e-05/0.1203, allocations: 89.86 kB / 493 MB, free: 6.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1204, allocations: 29.83 kB / 493 MB, free: 6.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.1204, allocations: 150.6 kB / 493.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1204, allocations: 0 / 493.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.1205, allocations: 0 / 493.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1206, allocations: 314.8 kB / 493.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.1206, allocations: 0 / 493.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.1206, allocations: 4 kB / 493.5 MB, free: 5.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.1207, allocations: 25.7 kB / 493.5 MB, free: 5.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1207, allocations: 4.062 kB / 493.5 MB, free: 5.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.276e-05/0.1208, allocations: 71.33 kB / 493.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.1209, allocations: 33.14 kB / 493.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1209, allocations: 0 / 493.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1209, allocations: 4 kB / 493.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.1209, allocations: 0 / 493.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.8e-06/0.1209, allocations: 0 / 493.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.1209, allocations: 0 / 493.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.121, allocations: 0 / 493.6 MB, free: 5.676 MB / 330.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 0.000109/0.1211, allocations: 151.5 kB / 493.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.1211, allocations: 0 / 493.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.1211, allocations: 7.109 kB / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1211, allocations: 0 / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1211, allocations: 0 / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1211, allocations: 0 / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1213, allocations: 161.6 kB / 493.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1213, allocations: 0 / 493.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.1213, allocations: 0 / 493.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1213, allocations: 0 / 493.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1213, allocations: 4 kB / 493.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1213, allocations: 4 kB / 493.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1214, allocations: 3.938 kB / 493.9 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.1215, allocations: 94.77 kB / 494 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.1215, allocations: 81.06 kB / 494.1 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1216, allocations: 4 kB / 494.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.192e-05/0.1216, allocations: 0 / 494.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.1216, allocations: 0 / 494.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1216, allocations: 4.031 kB / 494.1 MB, free: 5.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.1217, allocations: 75.28 kB / 494.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1217, allocations: 0 / 494.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000276/0.122, allocations: 16 kB / 494.2 MB, free: 4.973 MB / 330.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.0003787/0.1223, allocations: 142.8 kB / 494.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1225, allocations: 59.39 kB / 494.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1225, allocations: 4.062 kB / 494.4 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.1225, allocations: 59.34 kB / 494.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.734e-05/0.1226, allocations: 0 / 494.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.1229, allocations: 104.6 kB / 494.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1232, allocations: 0.677 MB / 495.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.1232, allocations: 7.438 kB / 495.3 MB, free: 3.84 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1232, allocations: 0 / 495.3 MB, free: 3.84 MB / 330.7 MB Notification: Performance of Templates: time 0.002645/0.1258, allocations: 0.6481 MB / 495.9 MB, free: 3.191 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions.makefile (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 & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestScalarFunctions --alarm=480 -emit_protected > 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