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.00145/0.00145, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001546/0.001546, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.622/1.622, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.3726/0.3726, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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 1.743e-06/1.743e-06, allocations: 0 / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.069e-05/8.243e-05, allocations: 2.312 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001641/0.001723, allocations: 0.497 MB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.004442, allocations: 1.591 MB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.004465, allocations: 0 / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.004476, allocations: 0 / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.004482, allocations: 0 / 379.3 MB, free: 0.8359 MB / 346.7 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.0007318/0.005214, allocations: 171.1 kB / 379.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.57e-05/0.005259, allocations: 0 / 379.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.005301, allocations: 7.984 kB / 379.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.472e-05/0.005326, allocations: 0 / 379.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.731e-05/0.005353, allocations: 0 / 379.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.005362, allocations: 4 kB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.005784, allocations: 131.8 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.005793, allocations: 0 / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.005815, allocations: 0 / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.005963, allocations: 43.89 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005966, allocations: 0 / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005967, allocations: 0 / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005971, allocations: 0 / 379.6 MB, free: 496 kB / 346.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.0003734/0.006345, allocations: 264.1 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.006384, allocations: 16.03 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.006432, allocations: 4.922 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.006544, allocations: 101.8 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.006561, allocations: 4.375 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.006569, allocations: 4.312 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.006702, allocations: 55.97 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.006714, allocations: 4.188 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.006728, allocations: 4.375 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.006737, allocations: 3.938 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.006774, allocations: 25.7 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.006926, allocations: 105.3 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.006999, allocations: 40.28 kB / 380.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.007043, allocations: 38.59 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.007053, allocations: 0 / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.007117, allocations: 60.27 kB / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.007118, allocations: 3.938 kB / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002377/0.007356, allocations: 114.8 kB / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.007426, allocations: 85.05 kB / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.007492, allocations: 93.86 kB / 380.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.007512, allocations: 25.7 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.007572, allocations: 84.27 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.007593, allocations: 3.938 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.007626, allocations: 13.72 kB / 380.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.007822, allocations: 314.8 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.007852, allocations: 29.64 kB / 381.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.007879, allocations: 29.7 kB / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.007951, allocations: 64.27 kB / 381.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007953, allocations: 0 / 381.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.008058, allocations: 89.09 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.008099, allocations: 33.8 kB / 381.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.008104, allocations: 0 / 381.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.008122, allocations: 0 / 381.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.008123, allocations: 0 / 381.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.008133, allocations: 7.938 kB / 381.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.008146, allocations: 0 / 381.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.008154, allocations: 3.938 kB / 381.3 MB, free: 14.52 MB / 362.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 0.0001129/0.008267, allocations: 139.5 kB / 381.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.008282, allocations: 7.938 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.088e-06/0.008291, allocations: 3 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.008292, allocations: 4 kB / 381.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.008296, allocations: 0 / 381.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.0083, allocations: 3.938 kB / 381.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.298e-05/0.008393, allocations: 97.33 kB / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008395, allocations: 0 / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.008395, allocations: 0 / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.008396, allocations: 0 / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.008403, allocations: 0 / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.008406, allocations: 4 kB / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008407, allocations: 0 / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.008555, allocations: 120.5 kB / 381.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-06/0.008562, allocations: 8.016 kB / 381.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.008575, allocations: 7.922 kB / 381.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.008588, allocations: 11.94 kB / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.008605, allocations: 3.984 kB / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.008608, allocations: 0 / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.582e-05/0.008674, allocations: 79.22 kB / 381.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008674, allocations: 0 / 381.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.008891, allocations: 16 kB / 381.8 MB, free: 13.95 MB / 362.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.0003716/0.009262, allocations: 145.1 kB / 381.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.009418, allocations: 110.8 kB / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.009419, allocations: 0 / 382.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.009491, allocations: 89.09 kB / 382.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.009631, allocations: 3.938 kB / 382.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.009857, allocations: 104 kB / 382.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.191e-05/0.009919, allocations: 63.28 kB / 382.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.33e-06/0.009925, allocations: 0 / 382.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.009945, allocations: 12.62 kB / 382.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.009945, allocations: 0 / 382.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of Templates: time 0.003499/0.01344, allocations: 0.6871 MB / 383 MB, free: 12.65 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.863582488032989]