Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.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.001465/0.001465, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001606/0.001606, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3888/0.3888, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.398e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003169/0.003203, allocations: 1.651 MB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003687/0.003572, allocations: 79.69 kB / 379 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.003657, allocations: 3.938 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.003707, allocations: 11.86 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.003785, allocations: 15.86 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.003962, allocations: 27.91 kB / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.00411, allocations: 87.77 kB / 379.2 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.004266, allocations: 25.56 kB / 379.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.004403, allocations: 55.89 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.004474, allocations: 23.89 kB / 379.3 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.004501, allocations: 8 kB / 379.3 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.004519, allocations: 8 kB / 379.3 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.00455, allocations: 15.92 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.004599, allocations: 23.92 kB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.004769, allocations: 79.64 kB / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004771, allocations: 0 / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004772, allocations: 0 / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.004777, allocations: 4 kB / 379.4 MB, free: 0.8398 MB / 346.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.0009395/0.005716, allocations: 322.2 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.005759, allocations: 8.031 kB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.005826, allocations: 20.84 kB / 379.7 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.006136, allocations: 153.6 kB / 379.9 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.006162, allocations: 12.5 kB / 379.9 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.006189, allocations: 12.31 kB / 379.9 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.006492, allocations: 120.4 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.006502, allocations: 0 / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.006518, allocations: 4 kB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.006523, allocations: 0 / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.00679, allocations: 71.94 kB / 380.1 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006525/0.007443, allocations: 376.3 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.007687, allocations: 82.56 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.007801, allocations: 28.84 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.00783, allocations: 4 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.007864, allocations: 30.56 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.007865, allocations: 0 / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004731/0.008339, allocations: 141.9 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.008388, allocations: 55.41 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.008526, allocations: 125.6 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.008559, allocations: 33.7 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.008653, allocations: 107.9 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.008684, allocations: 23.8 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.008733, allocations: 25.7 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.008919, allocations: 314.8 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.009029, allocations: 27.97 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.009145, allocations: 45.69 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.009368, allocations: 73.69 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00937, allocations: 0 / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003076/0.009678, allocations: 121.5 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.009694, allocations: 4 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.009704, allocations: 7.938 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.009725, allocations: 0 / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.009856, allocations: 24.02 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.009862, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.009929, allocations: 7.953 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.009942, allocations: 7.984 kB / 381.7 MB, free: 14.3 MB / 362.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 0.0001113/0.01005, allocations: 113.8 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.01009, allocations: 11.95 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.01043, allocations: 117.9 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01044, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01044, allocations: 4 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01044, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.01064, allocations: 141.3 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01064, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.629e-05/0.01074, allocations: 15.98 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01074, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.01075, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01075, allocations: 7.938 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01075, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.01109, allocations: 203.4 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.01111, allocations: 11.89 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.01113, allocations: 4 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.01122, allocations: 11.92 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.01127, allocations: 7.984 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.01128, allocations: 0 / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.194e-05/0.01137, allocations: 99.27 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01137, allocations: 0 / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.01161, allocations: 15.95 kB / 382.5 MB, free: 13.49 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: 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 0.0001229/0.01173, allocations: 95.25 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.01201, allocations: 67.89 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01201, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.01213, allocations: 35.97 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.01242, allocations: 15.42 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.01303, allocations: 200.1 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01313, allocations: 85.52 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.01318, allocations: 8.719 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.01323, allocations: 16.5 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01323, allocations: 4 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Templates: time 0.003571/0.0168, allocations: 0.698 MB / 383.7 MB, free: 12.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.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.819411305012181]