Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.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.0009514/0.0009514, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001478/0.001478, allocations: 169.9 kB / 24.92 MB, free: 8.258 MB / 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 0.9397/0.9397, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] 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.267/0.267, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.7 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.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation") translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.998e-05, allocations: 2.312 kB / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00206/0.00208, allocations: 1.695 MB / 327.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002119/0.002292, allocations: 79.64 kB / 327.7 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.002355, allocations: 7.938 kB / 327.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.002386, allocations: 15.86 kB / 327.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.002435, allocations: 11.86 kB / 327.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.002561, allocations: 31.91 kB / 327.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.445e-05/0.002645, allocations: 80.27 kB / 327.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.002751, allocations: 42.81 kB / 327.9 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.002839, allocations: 43.91 kB / 327.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.002886, allocations: 27.89 kB / 327.9 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.002906, allocations: 4 kB / 327.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.002917, allocations: 12 kB / 327.9 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.002939, allocations: 19.92 kB / 328 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.002962, allocations: 23.91 kB / 328 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.705e-05/0.003049, allocations: 59.69 kB / 328 MB, free: 5.039 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003051, allocations: 0 / 328 MB, free: 5.039 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003051, allocations: 0 / 328 MB, free: 5.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.003055, allocations: 0 / 328 MB, free: 5.039 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002892/0.003344, allocations: 294.1 kB / 328.3 MB, free: 4.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.003373, allocations: 12.03 kB / 328.3 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.003398, allocations: 16.92 kB / 328.4 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.003548, allocations: 150.4 kB / 328.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.003564, allocations: 8.5 kB / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.003576, allocations: 12.38 kB / 328.5 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.003701, allocations: 114.5 kB / 328.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.003706, allocations: 0 / 328.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.003715, allocations: 8 kB / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.003719, allocations: 0 / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.003754, allocations: 19.98 kB / 328.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.004028, allocations: 308.1 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.686e-05/0.004095, allocations: 50.48 kB / 329 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.004112, allocations: 12.84 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.004128, allocations: 7.984 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.004143, allocations: 30.56 kB / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.004144, allocations: 0 / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001032/0.004247, allocations: 61.69 kB / 329.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.004274, allocations: 59.28 kB / 329.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.004333, allocations: 131.2 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.004341, allocations: 25.7 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.004381, allocations: 112.1 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.004394, allocations: 23.75 kB / 329.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.00443, allocations: 29.69 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.004498, allocations: 314.8 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.004512, allocations: 11.98 kB / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.004531, allocations: 17.72 kB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.004569, allocations: 37.62 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.004572, allocations: 7.984 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.878e-05/0.004631, allocations: 57.69 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.00464, allocations: 4 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004643, allocations: 0 / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.004655, allocations: 4 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.004722, allocations: 23.86 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.004724, allocations: 0 / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.004744, allocations: 4 kB / 330 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.004749, allocations: 4 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5.121e-05/0.0048, allocations: 117.9 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.004814, allocations: 4 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.004894, allocations: 74.38 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.004895, allocations: 0 / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.004897, allocations: 3.938 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.0049, allocations: 0 / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.189e-05/0.004991, allocations: 101.7 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004992, allocations: 0 / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.005027, allocations: 16 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.005028, allocations: 0 / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.005034, allocations: 4 kB / 330.3 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.005036, allocations: 7.984 kB / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.005037, allocations: 0 / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.652e-05/0.005113, allocations: 155.5 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.005122, allocations: 15.94 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.005132, allocations: 4 kB / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.124e-05/0.005163, allocations: 4 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.005187, allocations: 7.984 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.00519, allocations: 0 / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.767e-05/0.005207, allocations: 21.91 kB / 330.5 MB, free: 2.344 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005207, allocations: 0 / 330.5 MB, free: 2.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001186/0.005326, allocations: 20 kB / 330.5 MB, free: 2.324 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 7.124e-05/0.005397, allocations: 72.42 kB / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.005463, allocations: 40.77 kB / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.005466, allocations: 0 / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.9e-05/0.005485, allocations: 16.86 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.005602, allocations: 17.08 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.005854, allocations: 185.1 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.005888, allocations: 71.34 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.684e-05/0.005914, allocations: 4.734 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.00596, allocations: 63.36 kB / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.005961, allocations: 0 / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of Templates: time 0.002033/0.007994, allocations: 0.6855 MB / 331.7 MB, free: 1.129 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7735516941174865]