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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 78.41 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002578/0.002578, allocations: 173.2 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2137/0.2137, allocations: 32.38 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 407.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.09e-05, allocations: 2.281 kB / 407.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001739/0.001769, allocations: 0.4985 MB / 407.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.004496, allocations: 1.387 MB / 409.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.004522, allocations: 0 / 409.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.004541, allocations: 0 / 409.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.853e-06/0.004547, allocations: 0 / 409.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.005203, allocations: 119 kB / 409.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.005275, allocations: 4 kB / 409.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.005329, allocations: 0 / 409.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.005364, allocations: 0 / 409.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.005399, allocations: 4 kB / 409.4 MB, free: 1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.00541, allocations: 0 / 409.4 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.005788, allocations: 75.86 kB / 409.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.005797, allocations: 0 / 409.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.005815, allocations: 0 / 409.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.00594, allocations: 35.84 kB / 409.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.005943, allocations: 0 / 409.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005944, allocations: 4 kB / 409.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.005949, allocations: 0 / 409.5 MB, free: 0.8867 MB / 334.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.0004157/0.006365, allocations: 272.1 kB / 409.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.006407, allocations: 8.031 kB / 409.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.006445, allocations: 0.9375 kB / 409.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.006571, allocations: 105.8 kB / 409.8 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.006588, allocations: 384 / 409.8 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.006602, allocations: 384 / 409.8 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.006723, allocations: 59.95 kB / 409.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006732, allocations: 192 / 409.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.006742, allocations: 4.375 kB / 409.9 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006749, allocations: 3.938 kB / 409.9 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.006791, allocations: 37.64 kB / 409.9 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.006921, allocations: 93.33 kB / 410 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.314e-05/0.006994, allocations: 44.31 kB / 410.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.007026, allocations: 34.55 kB / 410.1 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.007037, allocations: 0 / 410.1 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.86e-05/0.007106, allocations: 64.33 kB / 410.2 MB, free: 28 kB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.007107, allocations: 0 / 410.2 MB, free: 28 kB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002403/0.007347, allocations: 114.8 kB / 410.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.007432, allocations: 89.16 kB / 410.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/0.007489, allocations: 89.86 kB / 410.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.007505, allocations: 25.7 kB / 410.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.007544, allocations: 80.14 kB / 410.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.007568, allocations: 7.953 kB / 410.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.007595, allocations: 13.72 kB / 410.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.007752, allocations: 310.8 kB / 410.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.00778, allocations: 29.7 kB / 410.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.007803, allocations: 25.72 kB / 410.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.231e-05/0.007875, allocations: 72.31 kB / 411 MB, free: 15.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007877, allocations: 3.938 kB / 411 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.333e-05/0.00797, allocations: 89.05 kB / 411.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.008008, allocations: 29.7 kB / 411.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.008012, allocations: 0 / 411.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.008027, allocations: 4 kB / 411.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-06/0.008032, allocations: 4 kB / 411.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.008042, allocations: 7.922 kB / 411.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.008056, allocations: 0 / 411.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.008065, allocations: 0 / 411.2 MB, free: 14.92 MB / 350.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.0001367/0.008201, allocations: 139.6 kB / 411.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.008211, allocations: 7.938 kB / 411.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.43e-05/0.008225, allocations: 6.984 kB / 411.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.008226, allocations: 0 / 411.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.008231, allocations: 0 / 411.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.008237, allocations: 3.938 kB / 411.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.008338, allocations: 101.3 kB / 411.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.008339, allocations: 0 / 411.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.008339, allocations: 0 / 411.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.008341, allocations: 0 / 411.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.008352, allocations: 3.984 kB / 411.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.008353, allocations: 4 kB / 411.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008354, allocations: 4 kB / 411.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.008497, allocations: 128.4 kB / 411.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.008502, allocations: 0 / 411.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.008514, allocations: 0 / 411.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-06/0.008522, allocations: 0 / 411.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.008541, allocations: 4 kB / 411.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.008543, allocations: 0 / 411.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.225e-05/0.008585, allocations: 79.22 kB / 411.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008585, allocations: 0 / 411.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002023/0.008788, allocations: 8.031 kB / 411.6 MB, free: 14.36 MB / 350.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.0003267/0.009114, allocations: 144 kB / 411.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.009264, allocations: 106.8 kB / 411.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009266, allocations: 0 / 411.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.009328, allocations: 92.97 kB / 412 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.009462, allocations: 6.344 kB / 412 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.009689, allocations: 106.7 kB / 412.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.689e-05/0.009746, allocations: 59.47 kB / 412.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.781e-06/0.009752, allocations: 0 / 412.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.009768, allocations: 12.5 kB / 412.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.009768, allocations: 3.938 kB / 412.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Templates: time 0.003752/0.01352, allocations: 0.5291 MB / 412.7 MB, free: 13.22 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035154644399881]