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: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001106, allocations: 110.1 kB / 17.09 MB, free: 6.008 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.001193/0.001194, allocations: 194.2 kB / 18.02 MB, free: 5.094 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.454/1.454, allocations: 205.1 MB / 223.9 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.2289/0.2289, allocations: 43.52 MB / 314.8 MB, free: 460 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.001571/0.001571, allocations: 71.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1146, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.002022/0.1167, allocations: 498.9 kB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.119, allocations: 1.422 MB / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.119, allocations: 0 / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.1191, allocations: 0 / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.1191, allocations: 3.938 kB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.1198, allocations: 103.7 kB / 0.4905 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.1198, allocations: 7.984 kB / 0.4905 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.1199, allocations: 4 kB / 0.4905 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.45e-05/0.1199, allocations: 0 / 0.4905 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.055e-05/0.1199, allocations: 0 / 0.4905 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-06/0.1199, allocations: 0 / 0.4905 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.1203, allocations: 75.86 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-06/0.1203, allocations: 0 / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.1203, allocations: 4 kB / 0.4906 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1204, allocations: 31.89 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1205, allocations: 0 / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1205, allocations: 0 / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1205, allocations: 0 / 0.4906 GB, free: 9.664 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.0003743/0.1209, allocations: 344.7 kB / 0.4909 GB, free: 9.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1209, allocations: 15.88 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.121, allocations: 0.9375 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1211, allocations: 164.4 kB / 0.4911 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1211, allocations: 4.312 kB / 0.4911 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1211, allocations: 8.375 kB / 0.4911 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1212, allocations: 30.02 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1213, allocations: 3.938 kB / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1213, allocations: 0 / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1213, allocations: 0 / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.1213, allocations: 4 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1215, allocations: 149.6 kB / 0.4913 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.1215, allocations: 22.61 kB / 0.4913 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.1216, allocations: 8.859 kB / 0.4913 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.1216, allocations: 0 / 0.4913 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.1216, allocations: 60.2 kB / 0.4914 GB, free: 8.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.1216, allocations: 0 / 0.4914 GB, free: 8.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.1218, allocations: 67.39 kB / 0.4915 GB, free: 8.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1219, allocations: 77.11 kB / 0.4915 GB, free: 8.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.547e-05/0.1219, allocations: 93.98 kB / 0.4916 GB, free: 8.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.122, allocations: 29.7 kB / 0.4917 GB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.122, allocations: 84.14 kB / 0.4917 GB, free: 8.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.122, allocations: 0 / 0.4917 GB, free: 8.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.1221, allocations: 9.719 kB / 0.4917 GB, free: 8.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1222, allocations: 314.8 kB / 0.492 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.1222, allocations: 0 / 0.492 GB, free: 7.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.1222, allocations: 3.984 kB / 0.492 GB, free: 7.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.1223, allocations: 68.27 kB / 0.4921 GB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1223, allocations: 3.938 kB / 0.4921 GB, free: 7.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.734e-05/0.1224, allocations: 63.41 kB / 0.4922 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.1224, allocations: 29.7 kB / 0.4922 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1225, allocations: 7.922 kB / 0.4922 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1225, allocations: 0 / 0.4922 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-06/0.1225, allocations: 4 kB / 0.4922 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1225, allocations: 4 kB / 0.4922 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.1225, allocations: 3.938 kB / 0.4922 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1225, allocations: 0 / 0.4922 GB, free: 7.75 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 0.000102/0.1226, allocations: 143.5 kB / 0.4924 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.1227, allocations: 0 / 0.4924 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.1227, allocations: 7.062 kB / 0.4924 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1227, allocations: 0 / 0.4924 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1227, allocations: 0 / 0.4924 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.1227, allocations: 85.08 kB / 0.4924 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1227, allocations: 0 / 0.4924 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-06/0.1228, allocations: 4 kB / 0.4925 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.1228, allocations: 4 kB / 0.4925 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001364/0.1229, allocations: 198 kB / 0.4926 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001596/0.1231, allocations: 244.5 kB / 0.4929 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.636e-05/0.1231, allocations: 0 / 0.4929 GB, free: 6.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.1232, allocations: 83.28 kB / 0.493 GB, free: 6.91 MB / 382.1 MB Notification: Performance of Backend: time 1.813e-06/0.1232, allocations: 0 / 0.493 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.1237, allocations: 166.7 kB / 0.4931 GB, free: 6.73 MB / 382.1 MB Notification: Performance of SimCode: time 0.000387/0.1241, allocations: 0.5872 MB / 0.4937 GB, free: 6.082 MB / 382.1 MB Notification: Performance of Templates: time 0.002854/0.1269, allocations: 0.5358 MB / 0.4942 GB, free: 5.547 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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