Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001917/0.001917, allocations: 117 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002268/0.002269, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 252.3 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.16 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 81.56 kB / 490.8 MB, free: 27.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.124, allocations: 62.45 MB / 0.5403 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001522/0.1255, allocations: 498.7 kB / 0.5408 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1278, allocations: 1.646 MB / 0.5424 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.1279, allocations: 0 / 0.5424 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.1279, allocations: 0 / 0.5424 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.1279, allocations: 0 / 0.5424 GB, free: 2.102 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:4:3-36:22:writable] Warning: Pure function 'ModelicaTest.Math.ScalarFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006517/0.1286, allocations: 157.8 kB / 0.5426 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.129e-05/0.1286, allocations: 11.97 kB / 0.5426 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.1287, allocations: 0 / 0.5426 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.57e-05/0.1287, allocations: 3.938 kB / 0.5426 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.967e-05/0.1287, allocations: 0 / 0.5426 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.1287, allocations: 4 kB / 0.5426 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.1291, allocations: 119.9 kB / 0.5427 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.545e-06/0.1292, allocations: 3.938 kB / 0.5427 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.1292, allocations: 4 kB / 0.5427 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1293, allocations: 39.89 kB / 0.5427 GB, free: 1.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1293, allocations: 0 / 0.5427 GB, free: 1.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1293, allocations: 0 / 0.5427 GB, free: 1.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1293, allocations: 0 / 0.5427 GB, free: 1.766 MB / 398.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.0003835/0.1297, allocations: 349.2 kB / 0.5431 GB, free: 1.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1298, allocations: 8.031 kB / 0.5431 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.1298, allocations: 4.938 kB / 0.5431 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1299, allocations: 164.4 kB / 0.5432 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1299, allocations: 384 / 0.5432 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.13, allocations: 4.312 kB / 0.5432 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.1301, allocations: 38 kB / 0.5433 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1301, allocations: 0 / 0.5433 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1301, allocations: 0 / 0.5433 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1301, allocations: 0 / 0.5433 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.1301, allocations: 7.938 kB / 0.5433 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.1303, allocations: 145.7 kB / 0.5434 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.804e-05/0.1303, allocations: 18.58 kB / 0.5434 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.1304, allocations: 8.859 kB / 0.5435 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.1304, allocations: 4.094 kB / 0.5435 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.1304, allocations: 64.19 kB / 0.5435 GB, free: 0.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1305, allocations: 0 / 0.5435 GB, free: 0.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001699/0.1306, allocations: 67.34 kB / 0.5436 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.1307, allocations: 77.11 kB / 0.5437 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.1308, allocations: 101.8 kB / 0.5438 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1308, allocations: 25.7 kB / 0.5438 GB, free: 492 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.1308, allocations: 80.14 kB / 0.5439 GB, free: 408 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.1309, allocations: 0 / 0.5439 GB, free: 408 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.1309, allocations: 17.7 kB / 0.5439 GB, free: 384 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1311, allocations: 315 kB / 0.5442 GB, free: 60 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.1311, allocations: 0 / 0.5442 GB, free: 60 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.1311, allocations: 4 kB / 0.5442 GB, free: 56 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.1312, allocations: 64.27 kB / 0.5442 GB, free: 15.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1312, allocations: 0 / 0.5442 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.079e-05/0.1312, allocations: 63.33 kB / 0.5443 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.1313, allocations: 37.64 kB / 0.5443 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1313, allocations: 0 / 0.5443 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1313, allocations: 3.984 kB / 0.5443 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1313, allocations: 4.094 kB / 0.5443 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1313, allocations: 0 / 0.5443 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.1314, allocations: 0 / 0.5443 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1314, allocations: 4 kB / 0.5443 GB, free: 15.85 MB / 414.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 9.781e-05/0.1315, allocations: 131.5 kB / 0.5445 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.1315, allocations: 7.922 kB / 0.5445 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-06/0.1315, allocations: 3.125 kB / 0.5445 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1315, allocations: 4 kB / 0.5445 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1315, allocations: 3.938 kB / 0.5445 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1315, allocations: 4 kB / 0.5445 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1317, allocations: 153.7 kB / 0.5446 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1317, allocations: 0 / 0.5446 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.1317, allocations: 0 / 0.5446 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.1317, allocations: 11.92 kB / 0.5446 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1317, allocations: 0 / 0.5446 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1317, allocations: 0 / 0.5446 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.1317, allocations: 0 / 0.5446 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1318, allocations: 94.78 kB / 0.5447 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1319, allocations: 81.09 kB / 0.5448 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1319, allocations: 3.938 kB / 0.5448 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-06/0.1319, allocations: 0 / 0.5448 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.1319, allocations: 0 / 0.5448 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1319, allocations: 4 kB / 0.5448 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.132, allocations: 75.28 kB / 0.5449 GB, free: 15.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.132, allocations: 0 / 0.5449 GB, free: 15.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1322, allocations: 15.94 kB / 0.5449 GB, free: 15.16 MB / 414.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.000317/0.1325, allocations: 147.6 kB / 0.5451 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.779e-05/0.1326, allocations: 55.41 kB / 0.5451 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1326, allocations: 0 / 0.5451 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.1327, allocations: 63.33 kB / 0.5452 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1328, allocations: 4 kB / 0.5452 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/0.133, allocations: 110.9 kB / 0.5453 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1334, allocations: 0.6729 MB / 0.5459 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.164e-05/0.1334, allocations: 7.438 kB / 0.5459 GB, free: 14.02 MB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.1334, allocations: 0 / 0.5459 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Templates: time 0.002345/0.1357, allocations: 0.6673 MB / 0.5466 GB, free: 13.35 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.27543623407837]