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.0009278/0.0009278, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.001021/0.001021, allocations: 160.2 kB / 24.99 MB, free: 9.289 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.9377/0.9377, allocations: 177 MB / 205.2 MB, free: 5.578 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.2781/0.2781, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 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.403e-06/1.403e-06, allocations: 0 / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.248e-05, allocations: 2.312 kB / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002222/0.002245, allocations: 1.697 MB / 380.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.002483, allocations: 71.69 kB / 380.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.002561, allocations: 8 kB / 380.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.002598, allocations: 15.8 kB / 380.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.002652, allocations: 7.875 kB / 380.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.002813, allocations: 27.97 kB / 380.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.002914, allocations: 75.83 kB / 380.7 MB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.003069, allocations: 33.56 kB / 380.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.003179, allocations: 47.89 kB / 380.7 MB, free: 388 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.003235, allocations: 27.89 kB / 380.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.003263, allocations: 8 kB / 380.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.003274, allocations: 4 kB / 380.8 MB, free: 348 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.003299, allocations: 27.86 kB / 380.8 MB, free: 320 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.003333, allocations: 23.92 kB / 380.8 MB, free: 296 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.003451, allocations: 55.69 kB / 380.9 MB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003453, allocations: 0 / 380.9 MB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003454, allocations: 0 / 380.9 MB, free: 240 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.003459, allocations: 0 / 380.9 MB, free: 240 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004031/0.003862, allocations: 420.4 kB / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.003903, allocations: 16.02 kB / 381.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.00395, allocations: 20.84 kB / 381.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.004145, allocations: 156.4 kB / 381.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.00417, allocations: 8.562 kB / 381.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.004183, allocations: 8.375 kB / 381.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.00438, allocations: 122.8 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004388, allocations: 0 / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.0044, allocations: 7.984 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.004409, allocations: 4 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.48e-05/0.004474, allocations: 35.91 kB / 381.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.004922, allocations: 470.5 kB / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.00503, allocations: 59.03 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.005072, allocations: 23.7 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.0051, allocations: 0 / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.005122, allocations: 41.33 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.005124, allocations: 3.938 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000181/0.005305, allocations: 73.62 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.005339, allocations: 51.41 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.005432, allocations: 189.9 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.005443, allocations: 29.7 kB / 382.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.005504, allocations: 150.7 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.00552, allocations: 27.78 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.005551, allocations: 31.38 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005656, allocations: 496.1 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/0.005683, allocations: 15.94 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.005712, allocations: 31.36 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.052e-05/0.005763, allocations: 39.38 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005765, allocations: 4 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.344e-05/0.005858, allocations: 85.64 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.00587, allocations: 4 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.005876, allocations: 7.938 kB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.005889, allocations: 0 / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.005963, allocations: 15.98 kB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.00597, allocations: 4 kB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.005994, allocations: 7.953 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.005999, allocations: 0 / 383.5 MB, free: 13.39 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 7.306e-05/0.006072, allocations: 168.5 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.006088, allocations: 11.98 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.006201, allocations: 78.05 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006202, allocations: 0 / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006205, allocations: 0 / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006208, allocations: 0 / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.006318, allocations: 148.5 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00632, allocations: 0 / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.006359, allocations: 19.92 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.006361, allocations: 0 / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.006369, allocations: 4 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.006371, allocations: 7.938 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.006371, allocations: 0 / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.00648, allocations: 216.4 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.006488, allocations: 7.953 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.0065, allocations: 3.938 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.568e-05/0.006536, allocations: 11.92 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.006574, allocations: 4 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.006578, allocations: 4 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.211e-05/0.00662, allocations: 135.2 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00662, allocations: 0 / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.006764, allocations: 15.95 kB / 384.3 MB, free: 12.5 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 6.835e-05/0.006832, allocations: 103.2 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.006934, allocations: 43.73 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006935, allocations: 0 / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.006973, allocations: 31.61 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.007156, allocations: 11.91 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.007494, allocations: 205.8 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.007535, allocations: 59.41 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.372e-05/0.007569, allocations: 16.72 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.0076, allocations: 16.5 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.007601, allocations: 0 / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of Templates: time 0.002262/0.009863, allocations: 0.69 MB / 385.5 MB, free: 11.27 MB / 362.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: 3.1032848150935024]