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.0008021/0.0008021, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0007873/0.0007873, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8277/0.8277, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.124/0.124, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.343e-06/1.343e-06, allocations: 0 / 408.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.068e-05, allocations: 6.078 kB / 408.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001243/0.001274, allocations: 0.4987 MB / 408.6 MB, free: 1.266 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.00273, allocations: 1.387 MB / 410 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.002753, allocations: 0 / 410 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.002771, allocations: 0 / 410 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.002777, allocations: 0 / 410 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.003198, allocations: 107.4 kB / 410.1 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.003254, allocations: 8 kB / 410.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.003299, allocations: 0 / 410.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.003331, allocations: 3.984 kB / 410.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.528e-05/0.003357, allocations: 4 kB / 410.1 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.003366, allocations: 0 / 410.1 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.003628, allocations: 59.92 kB / 410.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.003637, allocations: 7.938 kB / 410.2 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.003657, allocations: 8 kB / 410.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.003766, allocations: 27.95 kB / 410.2 MB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.00377, allocations: 0 / 410.2 MB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.003772, allocations: 0 / 410.2 MB, free: 15.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.003776, allocations: 0 / 410.2 MB, free: 15.63 MB / 394.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.00028/0.004056, allocations: 272.1 kB / 410.5 MB, free: 15.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.004099, allocations: 12.03 kB / 410.5 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.004142, allocations: 8.891 kB / 410.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.991e-05/0.004202, allocations: 105.8 kB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.004214, allocations: 384 / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.004222, allocations: 4.312 kB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.741e-05/0.004319, allocations: 59.97 kB / 410.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.004328, allocations: 192 / 410.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004338, allocations: 384 / 410.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.004343, allocations: 3.938 kB / 410.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.51e-05/0.004368, allocations: 29.7 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.695e-05/0.004465, allocations: 97.27 kB / 410.8 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.004518, allocations: 56.3 kB / 410.8 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.004538, allocations: 30.56 kB / 410.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.004546, allocations: 64 / 410.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.004585, allocations: 64.27 kB / 410.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.004586, allocations: 4 kB / 410.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002087/0.004794, allocations: 122.7 kB / 411 MB, free: 14.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.004835, allocations: 81.05 kB / 411.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.072e-05/0.004865, allocations: 89.86 kB / 411.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.004875, allocations: 29.7 kB / 411.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.004894, allocations: 80.14 kB / 411.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.004912, allocations: 0 / 411.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.004933, allocations: 9.719 kB / 411.3 MB, free: 14.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.005012, allocations: 314.8 kB / 411.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.005035, allocations: 33.69 kB / 411.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.005047, allocations: 29.83 kB / 411.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.005091, allocations: 60.27 kB / 411.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.005093, allocations: 0 / 411.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.349e-05/0.005157, allocations: 93.05 kB / 411.8 MB, free: 13.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.005188, allocations: 37.69 kB / 411.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.005194, allocations: 0 / 411.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.005208, allocations: 0 / 411.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.005209, allocations: 0 / 411.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.005215, allocations: 7.875 kB / 411.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.005229, allocations: 96 / 411.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.005237, allocations: 7.984 kB / 411.9 MB, free: 13.65 MB / 394.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.005308, allocations: 135.5 kB / 412 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-06/0.005313, allocations: 0 / 412 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.005329, allocations: 3 kB / 412 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.005335, allocations: 7.984 kB / 412 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.005341, allocations: 0 / 412 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.005346, allocations: 3.938 kB / 412 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.63e-05/0.005412, allocations: 93.33 kB / 412.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005413, allocations: 0 / 412.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-07/0.005413, allocations: 0 / 412.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.005415, allocations: 8 kB / 412.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.005421, allocations: 3.938 kB / 412.1 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005422, allocations: 0 / 412.1 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005423, allocations: 0 / 412.1 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.506e-05/0.005508, allocations: 124.4 kB / 412.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-06/0.005512, allocations: 0 / 412.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.005524, allocations: 4 kB / 412.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-06/0.00553, allocations: 0 / 412.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.005543, allocations: 3.984 kB / 412.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.005545, allocations: 0 / 412.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.394e-05/0.005569, allocations: 87.25 kB / 412.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005569, allocations: 0 / 412.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.0057, allocations: 12 kB / 412.4 MB, free: 13.09 MB / 394.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 (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.0002658/0.005966, allocations: 134.8 kB / 412.5 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.00607, allocations: 114.8 kB / 412.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006071, allocations: 4 kB / 412.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.006098, allocations: 81.05 kB / 412.7 MB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.618e-05/0.006194, allocations: 8.125 kB / 412.7 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.006392, allocations: 132.3 kB / 412.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.006428, allocations: 55.36 kB / 412.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.006443, allocations: 8.5 kB / 412.9 MB, free: 12.46 MB / 394.7 MB Notification: Performance of SimCode: time 4.3e-07/0.006443, allocations: 0 / 412.9 MB, free: 12.46 MB / 394.7 MB Notification: Performance of Templates: time 0.00182/0.008263, allocations: 0.5657 MB / 413.5 MB, free: 11.89 MB / 394.7 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: 4.255486928857863]